944,110 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 2054
  • PHP RSS
Oct 5th, 2009
0

Php email error

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
slucia is offline Offline
2 posts
since Apr 2009
Oct 5th, 2009
2

Re: Php email error

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.
Reputation Points: 93
Solved Threads: 70
Posting Pro
Atli is offline Offline
526 posts
since May 2007
Oct 5th, 2009
1

Re: Php email error

Also don't forget to try the imap_mail() function.
Sponsor
Featured Poster
Reputation Points: 410
Solved Threads: 258
Occupation: Genius
cwarn23 is offline Offline
3,004 posts
since Sep 2007
Oct 6th, 2009
0
Re: Php email error
Reputation Points: 11
Solved Threads: 0
Newbie Poster
hawk17 is offline Offline
1 posts
since Oct 2009

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: Echo not working
Next Thread in PHP Forum Timeline: Banned Word Filter Not Working, Help Please?





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


Follow us on Twitter


© 2011 DaniWeb® LLC