Documenation

E-mail

/_plugins/email.php

A plug-in to send e-mail.

Example

01
02
03
04
05
06
07
08
09
10
11
<?php
$model
->email(
    
'recipient@example.com',
    
'Subject',
    
'<p>Body</p>',
    array(
        
'From'     => 'sender@example.com',
        
'Reply-To' => 'sender@example.com'
        
)
    );
?>

Class

$model->email

Public functions

  • $model->log->send ( array $params )
    Sends an e-mail. This function should not be called directly. Use $model->email() instead (see Model).

See also