943,640 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 1539
  • PHP RSS
Apr 2nd, 2009
0

Re: Sending HTML email via PHP mail function

Expand Post »
PHP Syntax (Toggle Plain Text)
  1. 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 ?
Last edited by Ezzaral; Apr 3rd, 2009 at 12:41 pm. Reason: Code tags. Please use them.
Similar Threads
Reputation Points: 10
Solved Threads: 1
Junior Poster in Training
forzadraco is offline Offline
70 posts
since Mar 2008
Apr 3rd, 2009
0

Re: Sending HTML email via PHP mail function

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
Reputation Points: 395
Solved Threads: 192
Veteran Poster
darkagn is offline Offline
1,136 posts
since Aug 2007
Apr 3rd, 2009
0

Re: Sending email via PHP

Moved to it's own thread.
Moderator
Featured Poster
Reputation Points: 3239
Solved Threads: 838
Posting Genius
Ezzaral is offline Offline
6,756 posts
since May 2007
Apr 4th, 2009
0

Re: Sending HTML email via PHP mail function

Click to Expand / Collapse  Quote originally posted by forzadraco ...
PHP Syntax (Toggle Plain Text)
  1. 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:
php Syntax (Toggle Plain Text)
  1. 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");
Sponsor
Featured Poster
Reputation Points: 410
Solved Threads: 258
Occupation: Genius
cwarn23 is offline Offline
3,004 posts
since Sep 2007
Apr 6th, 2009
0

Re: Sending HTML email via PHP mail function

Click to Expand / Collapse  Quote originally posted by forzadraco ...
PHP Syntax (Toggle Plain Text)
  1. 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/post84...tml#post840442
Reputation Points: 13
Solved Threads: 12
Junior Poster
rm_daniweb is offline Offline
165 posts
since Jan 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: Are cURL and HttpRequest same?
Next Thread in PHP Forum Timeline: Regardind display of second and fouth saturdays





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC