954,585 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Sending email via PHP

mail($to,"Discount offer",$message,"From: noreply@bisnis-indonesia.biz\n MIME-Version: 1.0\n Content-type: text/html; charset=iso-8859-1 \n Reply-To: promo@bisnis-indonesia.biz\nX-Mailer: PHP/");


why is not didn't work www.bisnis-indonesia.biz ? server problem or code problem ?

forzadraco
Junior Poster in Training
70 posts since Mar 2008
Reputation Points: 10
Solved Threads: 1
 

Hi forzadraco,

Please use code tags when posting code as it makes it much more readable. If you have a question, please do not hijack an old thread, create a new one instead and clearly state what it is you are trying to do and any errors you are getting.

Thanks,
darkagn

darkagn
Veteran Poster
1,197 posts since Aug 2007
Reputation Points: 404
Solved Threads: 200
 

Moved to it's own thread.

Ezzaral
Posting Genius
Moderator
15,986 posts since May 2007
Reputation Points: 3,250
Solved Threads: 847
 
mail($to,"Discount offer",$message,"From: noreply@bisnis-indonesia.biz\n MIME-Version: 1.0\n Content-type: text/html; charset=iso-8859-1 \n Reply-To: promo@bisnis-indonesia.biz\nX-Mailer: PHP/");

why is not didn't work www.bisnis-indonesia.biz ? server problem or code problem ?


Try the following:

mail($to,"Discount offer",$message,"From: noreply@bisnis-indonesia.biz\r\nMIME-Version: 1.0\r\nContent-type: text/html; charset=iso-8859-1\r\nReply-To: promo@bisnis-indonesia.biz\nX-Mailer: PHP/\r\n");
cwarn23
Occupation: Genius
Team Colleague
3,033 posts since Sep 2007
Reputation Points: 413
Solved Threads: 259
 
mail($to,"Discount offer",$message,"From: noreply@bisnis-indonesia.biz\n MIME-Version: 1.0\n Content-type: text/html; charset=iso-8859-1 \n Reply-To: promo@bisnis-indonesia.biz\nX-Mailer: PHP/");

why is not didn't work www.bisnis-indonesia.biz ? server problem or code problem ?


try this my friend http://www.daniweb.com/forums/post840442.html#post840442

rm_daniweb
Junior Poster
165 posts since Jan 2007
Reputation Points: 13
Solved Threads: 12
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You