Xataface Email Module
0.3.2
Email/Mailmerge Module for Xataface
|
Go to the source code of this file.
Variables | |
const | DISPLAY_XPM4_ERRORS = true |
$from = 'me@mydomain.net' | |
$to = 'client@destination.net' | |
$subj = 'Hello World!' | |
$text = 'Text version of message.' | |
$html = '<b>HTML</b> version of <u>message</u>.' | |
$msg1 = MIME::message($text, 'text/plain') | |
$msg2 = MIME::message($html, 'text/html') | |
$mess = MIME::compose($msg1, $msg2) | |
$body | |
$expl = explode('@', $to) | |
$conn = SMTP::mxconnect($expl[1]) or die(print_r($_RESULT)) | |
$sent = SMTP::send($conn, array($to), $body, $from) |
$body |
Definition at line 51 of file mime-smtp.php.
$conn = SMTP::mxconnect($expl[1]) or die(print_r($_RESULT)) |
Definition at line 61 of file mime-smtp.php.
$expl = explode('@', $to) |
Definition at line 58 of file mime-smtp.php.
$from = 'me@mydomain.net' |
Definition at line 37 of file mime-smtp.php.
$html = '<b>HTML</b> version of <u>message</u>.' |
Definition at line 41 of file mime-smtp.php.
$mess = MIME::compose($msg1, $msg2) |
Definition at line 49 of file mime-smtp.php.
$msg1 = MIME::message($text, 'text/plain') |
Definition at line 45 of file mime-smtp.php.
$msg2 = MIME::message($html, 'text/html') |
Definition at line 47 of file mime-smtp.php.
$sent = SMTP::send($conn, array($to), $body, $from) |
Definition at line 64 of file mime-smtp.php.
$subj = 'Hello World!' |
Definition at line 39 of file mime-smtp.php.
$text = 'Text version of message.' |
Definition at line 40 of file mime-smtp.php.
$to = 'client@destination.net' |
Definition at line 38 of file mime-smtp.php.
const DISPLAY_XPM4_ERRORS = true |
Definition at line 31 of file mime-smtp.php.