Sends emails using HTML content generated by a View, wrapped in a standard template
This is the code documentation for the SproutCMS project
Search documentation |
class EmailSends emails using HTML content generated by a View, wrapped in a standard template
Example$view = new View('modules/MyModule/welcome_email'); $view->set(...); $mail = new Email(); $mail->Subject = 'Talking about the things and stuff'; $mail->addAddress('example@example.org', 'Elaine Exemplary'); $mail->SkinnedHTML($view); $mail->send(); Functions
public SkinnedHTMLvoid $Email->SkinnedHTML ( string|View $content [, array $extraparams [, string $template ]] ); Sets the message content to be the specified content, with the email skin around it Content can either be a HTML string or a View. public __constructvoid $Email->__construct ( ); This function does not have a description |
| Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Wednesday, 5th August, 2026 at 03:31 pm |
|