|
noalyss Version-10
NOALYSS : serveur de comptabilité et ERP (2002)
|
Description of Sendmail. More...
Inheritance diagram for Sendmail_Core:
Collaboration diagram for Sendmail_Core:Public Member Functions | |
| __construct () | |
| add_file (FileToSend $file) | |
| Add file to the message. | |
| add_supplemental_header () | |
| Function to override if supplemental header are needed. | |
| compose () | |
| create the message before sending | |
| get_format () | |
| mailto ($p_mailto) | |
| set the recipient | |
| send () | |
| Send email. | |
| set_format ($format) | |
| format is either HTML or PLAIN | |
| set_from ($p_from) | |
| set the from | |
| set_message ($p_message) | |
| body of the message (utf8) | |
| set_subject ($p_subject) | |
| verify () | |
| verify that the message is ready to go | |
Protected Attributes | |
| $afile | |
| $content | |
| $format | |
| $from | |
| $header | |
| $mailto | |
| $message | |
| $subject | |
Description of Sendmail.
API for sending email.
Definition at line 38 of file sendmail_core.class.php.
| Sendmail_Core::__construct | ( | ) |
Definition at line 49 of file sendmail_core.class.php.
| Sendmail_Core::add_file | ( | FileToSend | $file | ) |
Add file to the message.
| FileToSend | $file | file to add to the message |
Definition at line 111 of file sendmail_core.class.php.
References $file.
| Sendmail_Core::add_supplemental_header | ( | ) |
Function to override if supplemental header are needed.
Definition at line 138 of file sendmail_core.class.php.
Referenced by compose().
| Sendmail_Core::compose | ( | ) |
create the message before sending
Definition at line 145 of file sendmail_core.class.php.
References $content, $file, $i, add_supplemental_header(), content, elseif, from, html, record_log(), and verify().
Here is the call graph for this function:| Sendmail_Core::get_format | ( | ) |
| Sendmail_Core::mailto | ( | $p_mailto | ) |
set the recipient
| type | $p_mailto | has the form name email.nosp@m.@ema.nosp@m.il.co.nosp@m.m |
Definition at line 92 of file sendmail_core.class.php.
References mailto().
Referenced by mailto(), Sendmail\send(), and send().
Here is the call graph for this function:| Sendmail_Core::send | ( | ) |
Send email.
| Exception |
Reimplemented in Sendmail.
Definition at line 241 of file sendmail_core.class.php.
References $e, content, mailto(), and verify().
Here is the call graph for this function:| Sendmail_Core::set_format | ( | $format | ) |
format is either HTML or PLAIN
| type | $format | HTML or PLAIN |
Definition at line 62 of file sendmail_core.class.php.
References $format.
| Sendmail_Core::set_from | ( | $p_from | ) |
set the from
| $p_from | has the form name info@.nosp@m.phpc.nosp@m.ompta.nosp@m..eu |
Definition at line 74 of file sendmail_core.class.php.
References from.
| Sendmail_Core::set_message | ( | $p_message | ) |
body of the message (utf8)
| type | $p_message |
Definition at line 101 of file sendmail_core.class.php.
| Sendmail_Core::set_subject | ( | $p_subject | ) |
| $p_subject | set the subject |
Definition at line 83 of file sendmail_core.class.php.
| Sendmail_Core::verify | ( | ) |
verify that the message is ready to go
| Exception |
Reimplemented in Sendmail.
Definition at line 120 of file sendmail_core.class.php.
References $array, $i, $name, _, and EXC_INVALID.
|
protected |
Definition at line 42 of file sendmail_core.class.php.
|
protected |
Definition at line 46 of file sendmail_core.class.php.
Referenced by compose().
|
protected |
Definition at line 48 of file sendmail_core.class.php.
Referenced by get_format(), and set_format().
|
protected |
Definition at line 45 of file sendmail_core.class.php.
|
protected |
Definition at line 47 of file sendmail_core.class.php.
|
protected |
Definition at line 41 of file sendmail_core.class.php.
|
protected |
Definition at line 44 of file sendmail_core.class.php.
|
protected |
Definition at line 43 of file sendmail_core.class.php.