Jump to content

Archived

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

Canman2005

PHPemail

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

Share this post


Link to post
Share on other sites
yeah just delete all the header! then it will be sent as pure txt :)

It could be the ISP/email SW realising your sending froma ndynamic IP that's classing the email as spam but worth a try using txt instead of html :0

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.