Sending email via PHP

Reply

Join Date: Mar 2008
Posts: 70
Reputation: forzadraco is an unknown quantity at this point 
Solved Threads: 1
forzadraco forzadraco is offline Offline
Junior Poster in Training

Re: Sending HTML email via PHP mail function

 
0
  #1
Apr 2nd, 2009
  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.
Reply With Quote Quick reply to this message  
Join Date: Aug 2007
Posts: 793
Reputation: darkagn has a spectacular aura about darkagn has a spectacular aura about darkagn has a spectacular aura about 
Solved Threads: 109
darkagn's Avatar
darkagn darkagn is offline Offline
Master Poster

Re: Sending HTML email via PHP mail function

 
0
  #2
Apr 3rd, 2009
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
There are no stupid questions, only those too stupid to ask for help.
echo is a web developer's best friend.
Reply With Quote Quick reply to this message  
Join Date: May 2007
Posts: 4,438
Reputation: Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of 
Solved Threads: 510
Moderator
Featured Poster
Ezzaral's Avatar
Ezzaral Ezzaral is offline Offline
Industrious Poster

Re: Sending email via PHP

 
0
  #3
Apr 3rd, 2009
Moved to it's own thread.
Reply With Quote Quick reply to this message  
Join Date: Sep 2007
Posts: 1,456
Reputation: cwarn23 has a spectacular aura about cwarn23 has a spectacular aura about cwarn23 has a spectacular aura about 
Solved Threads: 136
cwarn23's Avatar
cwarn23 cwarn23 is offline Offline
Nearly a Posting Virtuoso

Re: Sending HTML email via PHP mail function

 
0
  #4
Apr 4th, 2009
Originally Posted by forzadraco View Post
  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:
  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");
Try not to bump 10 year old threads as it can be really annoying.
Like php then read my website at http://syntax.cwarn23.net/
Star-Trek-Atlantis - now that's what I call a movie ^_^
My favourite PC. - MacGyver Fan
Bad english note: dis-iz-2b4u
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 164
Reputation: rm_daniweb is an unknown quantity at this point 
Solved Threads: 10
rm_daniweb rm_daniweb is offline Offline
Junior Poster

Re: Sending HTML email via PHP mail function

 
0
  #5
Apr 6th, 2009
Originally Posted by forzadraco View Post
  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
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC