Jump to content

mail function headers


mouli

Recommended Posts

Hi
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

mouli
Link to comment
https://forums.phpfreaks.com/topic/10231-mail-function-headers/
Share on other sites

Archived

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

×
×
  • Create New...

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.