Php email error

Reply

Join Date: Apr 2009
Posts: 1
Reputation: slucia is an unknown quantity at this point 
Solved Threads: 0
slucia slucia is offline Offline
Newbie Poster

Php email error

 
0
  #1
Oct 5th, 2009
how to rectify the following error ? SMTP server response: 503 Bad sequence of commands. You must specify the recipients of a message before you can send it in php
Reply With Quote Quick reply to this message  
Join Date: May 2007
Posts: 444
Reputation: Atli is on a distinguished road 
Solved Threads: 56
Atli's Avatar
Atli Atli is offline Offline
Posting Pro in Training

Re: Php email error

 
2
  #2
Oct 5th, 2009
Hey.

Could we see the code that is generating this error message?
It helps with the debugging process, to be able to see the code ;-)

Also, you might want to consider abandoning the old PHP mail function and try one of the PHP mailer classes, like: PHPMailer or Swift Mailer.
They are generally much easier to deal with.
Last edited by Atli; Oct 5th, 2009 at 7:52 am.
Please do not ask for help in a PM. Use the forums.
And use [code] tags!
Reply With Quote Quick reply to this message  
Join Date: Sep 2007
Posts: 1,500
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
Posting Virtuoso

Re: Php email error

 
1
  #3
Oct 5th, 2009
Also don't forget to try the imap_mail() function.
Try not to bump 10 year old threads as it can be really annoying.
http://syntax.cwarn23.net/
Smilies: ^_* +_+ v_v -_- *~*`
My favourite PC. - MacGyver Fan
Reply With Quote Quick reply to this message  
Join Date: Oct 2009
Posts: 1
Reputation: hawk17 is an unknown quantity at this point 
Solved Threads: 0
hawk17 hawk17 is offline Offline
Newbie Poster
 
0
  #4
Oct 6th, 2009
Reply With Quote Quick reply to this message  
Reply

Tags
email, error, php

Message:


Thread Tools Search this Thread



Tag cloud for email, error, php
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC