On Mon, Nov 24, 2003 at 03:33:57PM +0530, Binay wrote:
:
: So does it mean that if i don't encode the message then no need of
: specifying the Content-Transfer-Encoding??
: And almost all mail client will interpret it correctly??
No. If your HTML message is guaranteed to be in the ISO-8859-1 range
(e.g. only Latin-based languages), then you could likely get away with
just these two headers. But you still need to specify both of them.
: > Content-Type: text/html; charset="ISO-8859-1"
: > Content-Transfer-Encoding: 7bit
You need to follow the various RFCs to generate correct messsages. If
you don't have time for that, I suggest you look at existing classes
like PEAR's Mail_Mime package that does much of the work for you:
http://pear.php.net/package/Mail_Mime
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php