Re: How do you send stylized email?

From: Date: Tue, 26 Feb 2008 14:46:10 +0000
Subject: Re: How do you send stylized email?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-270153@lists.php.net to get a copy of this message
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('example@example.com' , '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 ;-)

« previous php.general (#270153) next »