Class Attributes and Variables
These are the values that you can set before you call EmailComponent::send()
| to | address the message is going to (string) |
|---|---|
| cc | array of addresses to cc the message to |
| bcc | array of addresses to bcc (blind carbon copy) the message to |
| replyTo | reply to address (string) |
| from | from address (string) |
| subject | subject for the message (string) |
| template | The email element to use for the message (located in app/views/elements/email/html/ and app/views/elements/email/text/) |
| layout | The layout used for the email (located in app/views/layouts/email/html/ and app/views/layouts/email/text/) |
| lineLength | Length at which lines should be wrapped. Defaults to 70. (integer) |
| sendAs | how do you want message sent string values of text, html or both |
| attachments | array of files to send (absolute and relative paths) |
| delivery | how to send the message (mail, smtp [would require smtpOptions set below] and debug) |
| smtpOptions | associative array of options for smtp mailer (port, host, timeout, username, password) |
There are some other things that can be set but you should refer to the api documentation for more information


Коментарии:
Добавить коментарий