EmailComponent Class Reference
Inheritance diagram for EmailComponent:

Public Member Functions | |
| reset () | |
| send ($content=null, $template=null, $layout=null) | |
| startup (&$controller) | |
Public Attributes | |
| $_debug = false | |
| $_error = false | |
| $_lineLength = null | |
| $_newLine = "\n" | |
| $additionalParams = null | |
| $attachments = array() | |
| $bcc = array() | |
| $cc = array() | |
| $charset = 'utf-8' | |
| $delivery = 'mail' | |
| $filePaths = array() | |
| $from = null | |
| $headers = array() | |
| $layout = 'default' | |
| $lineLength = 70 | |
| $readReceipt = null | |
| $replyTo = null | |
| $return = null | |
| $sendAs = 'text' | |
| $smtpError = null | |
| $smtpOptions | |
| $subject = null | |
| $template = null | |
| $to = null | |
| $xMailer = 'CakePHP Email Component' | |
Detailed Description
Definition at line 39 of file email.php.
Member Function Documentation
| EmailComponent::reset | ( | ) |
Reset all EmailComponent internal variables to be able to send out a new email.
public
| EmailComponent::send | ( | $ | content = null, |
|
| $ | template = null, |
|||
| $ | layout = null | |||
| ) |
Send an email using the specified content, template and layout
- Parameters:
-
mixed $content Either an array of text lines, or a string with contents string $template Template to use when sending email string $layout Layout to use to enclose email body
- Returns:
- boolean Success public
| EmailComponent::startup | ( | &$ | controller | ) |
Startup component
- Parameters:
-
object $controller Instantiating controller public
Definition at line 280 of file email.php.
References Configure::read().
Member Data Documentation
| EmailComponent::$_lineLength = null |
| EmailComponent::$smtpOptions |
The documentation for this class was generated from the following file:
- 1.2.x.x/cake/libs/controller/components/email.php