Note: when relay rejects your mail, try to setSendmailAdditionalArgs('-f from.addr@example.com'). More...
Public Member Functions | |
send () | |
setTo ($to) | |
setCc ($cc) | |
setSubject ($subject) | |
setText ($text) | |
setFrom ($from) | |
setEncoding ($encoding) | |
getContentType () | |
setContentType ($contentType) | |
getSendmailAdditionalArgs () | |
setSendmailAdditionalArgs ($sendmailAdditionalArgs) | |
getReturnPath () | |
setReturnPath ($returnPath) | |
Static Public Member Functions | |
static | create () |
Private Attributes | |
$to = null | |
$cc = null | |
$text = null | |
$subject = null | |
$from = null | |
$encoding = null | |
$contentType = null | |
$returnPath = null | |
$sendmailAdditionalArgs = null |
Note: when relay rejects your mail, try to setSendmailAdditionalArgs('-f from.addr@example.com').
See 'man sendmail' for details.
Definition at line 29 of file Mail.class.php.
static Mail::create | ( | ) | [static] |
Definition at line 45 of file Mail.class.php.
Mail::getContentType | ( | ) |
Definition at line 193 of file Mail.class.php.
Mail::getReturnPath | ( | ) |
Definition at line 221 of file Mail.class.php.
Mail::getSendmailAdditionalArgs | ( | ) |
Definition at line 207 of file Mail.class.php.
Referenced by send().
Mail::send | ( | ) |
Definition at line 53 of file Mail.class.php.
References $encoding, $from, $returnPath, $subject, $to, and getSendmailAdditionalArgs().
Mail::setCc | ( | $ | cc | ) |
Mail::setContentType | ( | $ | contentType | ) |
Mail::setEncoding | ( | $ | encoding | ) |
Mail::setFrom | ( | $ | from | ) |
Mail::setReturnPath | ( | $ | returnPath | ) |
Mail::setSendmailAdditionalArgs | ( | $ | sendmailAdditionalArgs | ) |
Mail::setSubject | ( | $ | subject | ) |
Mail::setText | ( | $ | text | ) |
Mail::setTo | ( | $ | to | ) |
Mail::$cc = null [private] |
Definition at line 32 of file Mail.class.php.
Referenced by setCc().
Mail::$contentType = null [private] |
Definition at line 37 of file Mail.class.php.
Referenced by setContentType().
Mail::$encoding = null [private] |
Definition at line 36 of file Mail.class.php.
Referenced by send(), and setEncoding().
Mail::$from = null [private] |
Definition at line 35 of file Mail.class.php.
Mail::$returnPath = null [private] |
Definition at line 38 of file Mail.class.php.
Referenced by send(), and setReturnPath().
Mail::$sendmailAdditionalArgs = null [private] |
Definition at line 40 of file Mail.class.php.
Referenced by setSendmailAdditionalArgs().
Mail::$subject = null [private] |
Definition at line 34 of file Mail.class.php.
Referenced by send(), and setSubject().
Mail::$text = null [private] |
Definition at line 33 of file Mail.class.php.
Referenced by setText().
Mail::$to = null [private] |
Definition at line 31 of file Mail.class.php.