Re: Sending "pretty" email

From: Date: Sat, 10 Mar 2001 23:37:39 +0000
Subject: Re: Sending "pretty" email
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-43345@lists.php.net to get a copy of this message
I often receive email from commercial sites (e.g. ZDnet) that looks like a Web page. How can I do that with Sendmail in PHP?
The man page for "mail" gives an example of it. http://www.php.net/mail It's just one "$header" line, stating HTML, then the rest of your message should be in HTML: <html><body> <h1>Hello Todd!</h1> <p>Thank you for your can of worms.</p> Of course I recommend spacing out your HTML so that people without HTML capabilities can still make good sense of it.

« previous php.general (#43345) next »