classQEmailMessage
QEmailMessage Class Reference
Inherits QBaseClass.

Public Member Functions
- AddAttachment (QEmailAttachment $objFile)
- Attach ($strFilePath, $strSpecifiedMimeType=null, $strSpecifiedFileName=null)
- RemoveAttachment ($strFileName)
- SetHeader ($strName, $strValue)
- GetHeader ($strName)
- RemoveHeader ($strName, $strValue)
- __construct ($strFrom=null, $strTo=null, $strSubject=null, $strBody=null)
- __get ($strName)
- __set ($strName, $mixValue)
Protected Attributes
- $strFrom
- $strTo
- $strSubject
- $strBody
- $strHtmlBody
- $strCc
- $strBcc
- $strHeaderArray = array()
- $objFileArray = array()
Constructor & Destructor Documentation
| QEmailMessage::__construct | ( | $ | strFrom = null, |
|
| $ | strTo = null, |
|||
| $ | strSubject = null, |
|||
| $ | strBody = null | |||
| ) |
References $strBody, $strFrom, $strSubject, and $strTo.
Member Function Documentation
| QEmailMessage::__get | ( | $ | strName | ) |
Override method to perform a property "Get" This will get the value of $strName All inhereted objects that call __get() should always fall through to calling parent::__get() in a try/catch statement catching for CallerExceptions.
- Parameters:
-
string $strName Name of the property to get
- Returns:
- mixed the returned property
Reimplemented from QBaseClass.
References QCallerException::IncrementOffset().
| QEmailMessage::__set | ( | $ | strName, | |
| $ | mixValue | |||
| ) |
Override method to perform a property "Set" This will set the property $strName to be $mixValue All inhereted objects that call __set() should always fall through to calling parent::__set() in a try/catch statement catching for CallerExceptions.
- Parameters:
-
string $strName Name of the property to set string $mixValue New value of the property
- Returns:
- mixed the property that was set
Reimplemented from QBaseClass.
References $strBody, $strHtmlBody, $strSubject, QType::Cast(), QCallerException::IncrementOffset(), and QType::String.
| QEmailMessage::AddAttachment | ( | QEmailAttachment $ | objFile | ) |
Referenced by Attach().
| QEmailMessage::Attach | ( | $ | strFilePath, | |
| $ | strSpecifiedMimeType = null, |
|||
| $ | strSpecifiedFileName = null | |||
| ) |
References AddAttachment().
| QEmailMessage::GetHeader | ( | $ | strName | ) |
| QEmailMessage::RemoveAttachment | ( | $ | strFileName | ) |
| QEmailMessage::RemoveHeader | ( | $ | strName, | |
| $ | strValue | |||
| ) |
| QEmailMessage::SetHeader | ( | $ | strName, | |
| $ | strValue | |||
| ) |
Member Data Documentation
QEmailMessage::$objFileArray = array() [protected] |
QEmailMessage::$strBcc [protected] |
QEmailMessage::$strBody [protected] |
Referenced by __construct(), and __set().
QEmailMessage::$strCc [protected] |
QEmailMessage::$strFrom [protected] |
Referenced by __construct().
QEmailMessage::$strHeaderArray = array() [protected] |
QEmailMessage::$strHtmlBody [protected] |
Referenced by __set().
QEmailMessage::$strSubject [protected] |
Referenced by __construct(), and __set().
QEmailMessage::$strTo [protected] |
Referenced by __construct().
The documentation for this class was generated from the following file:
- qcodo/_core/framework/QEmailServer.class.php
