Canman2005 Posted March 24, 2006 Share Posted March 24, 2006 Dear allI 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 advanceDave Quote Link to comment https://forums.phpfreaks.com/topic/5684-phpemail/ Share on other sites More sharing options...
shocker-z Posted March 25, 2006 Share Posted March 25, 2006 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 Quote Link to comment https://forums.phpfreaks.com/topic/5684-phpemail/#findComment-20503 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.