noalyss Version-9
|
Description of Sendmail. More...
Public Member Functions | |
__construct () | |
add_file (FileToSend $file) | |
Add file to the message. More... | |
add_supplemental_header () | |
Function to override if supplemental header are needed. More... | |
compose () | |
create the message before sending More... | |
mailto ($p_mailto) | |
set the recipient More... | |
send () | |
Send email. More... | |
set_from ($p_from) | |
set the from More... | |
set_message ($p_message) | |
body of the message (utf8) More... | |
set_subject ($p_subject) | |
verify () | |
verify that the message is ready to go More... | |
Protected Attributes | |
$afile | |
$content | |
$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 94 of file sendmail_core.class.php.
References $file.
Sendmail_Core::add_supplemental_header | ( | ) |
Function to override if supplemental header are needed.
Definition at line 121 of file sendmail_core.class.php.
Referenced by compose().
Sendmail_Core::compose | ( | ) |
create the message before sending
Definition at line 128 of file sendmail_core.class.php.
References $content, $file, $i, add_supplemental_header(), content, from, record_log(), and verify().
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 75 of file sendmail_core.class.php.
References mailto().
Referenced by mailto(), Sendmail\send(), and send().
Sendmail_Core::send | ( | ) |
Send email.
Exception |
Reimplemented in Sendmail.
Definition at line 184 of file sendmail_core.class.php.
References $e, content, mailto(), and verify().
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 57 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 84 of file sendmail_core.class.php.
Sendmail_Core::set_subject | ( | $p_subject | ) |
$p_subject | set the subject |
Definition at line 66 of file sendmail_core.class.php.
Sendmail_Core::verify | ( | ) |
verify that the message is ready to go
Exception |
Reimplemented in Sendmail.
Definition at line 103 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 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.