Jump to content


This topic is now archived and is closed to further replies.


mail function headers

Recommended Posts

I have a small script that sends email from a form using the mail function.
The recipient is using Outlook.
If I set the content-type header to:

text/plain; charset=us-ascii

the email gets through but obviously as plain unformatted text.

However if I set the content-type header to

text/html; charset= iso-8859-1

they receive a blank email with the original content attached as a .dat file

Any ideas would be much appreciated as they'd like the emails received with active links etc.

Many thanks


Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.