Jump to content

PHPemail


Canman2005

Recommended Posts

Dear all

I have the following code which generates my html email from a php page


[code]$headers .= "MIME-Version: 1.0\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\n";
$headers .= "X-Priority: 1\n";
$headers .= "X-MSMail-Priority: Normal\n";
$headers .= "X-Mailer: php\n";
$subject = "Thank you";

$body = "<html><head><body>test</body><head><html>";[/code]

Some email software is reading these as spam. Can the above be changed easily to send the emails out as text based and not html?

Thanks in advance

Dave
Link to comment
https://forums.phpfreaks.com/topic/5684-phpemail/
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.