tedd schreef:
Hi gang:
I want to send a styled email via heredoc, can that be done?
$message = <<<EOT
Title: This is a title of the Event.
Time: This the time of the Event.
Please show up on time.
EOT
that's just string generation ... 'style' equates to harassing people
with HTML emails ... which will require a message built using the multipart mime
specification ... for which you'll want to grab a ready built lib/class
in order to save your self the hassle.
recommended: phpmailer (google it)
which you can then pull apart to see exactly how it works (it's work
comprises of building the $message into a format that mail readers will
understand as multi-part mime.)
mail('[EMAIL PROTECTED]' , 'An Event' , $message);
If so, how do you style it?
If not, how do you send stylized email?
style comes naturally to some of us ;-)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php