Jump to content


Photo

mail function headers


  • Please log in to reply
No replies to this topic

#1 mouli

mouli
  • Members
  • PipPip
  • Member
  • 23 posts

Posted 23 May 2006 - 03:36 AM

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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users