warning: mail() [function.mail]: SMTP server response: 503 Bad sequence of commands. You must specify the recipients of a message before you can send it in ...\includes\common.inc on line 2105.

A common occurance... Hapens with every email... I believe this to be the problem: There is a bug when using a windows server that the mail function cannot accept the name of a contact, only the email adress, eg: "Example <example@example.com>" would throw an error...

I can't seem to fix this, any help?

Comments

jnvsor’s picture

bump :s

WorldFallz’s picture

Please don't bump posts less than 24 hours. Thanks.

vm’s picture

What is exact version of Drupal 5?
What modules are involved where mail is concerened?

ON your test site, install only a core drupal 5.x with no modules, can this problem be recreated?
if not the problem is likely with a module you are using

jnvsor’s picture

drupal 5.16

Only module which has anything to do with mail is contact system user and gotcha, besides its being fed the values from the contact module...

I was wondering if there was a quick fix for this...

On the other hand it may have nothing at all to do with it and something on the server is just... wrong...

vm’s picture

If i remember correctly, drupal doesn't use SMTP by default it uses php to send mail. I could be wrong though.

I'd still throw up a test site and see if it can be recreated on a fresh install. If it works on a fresh install than the problem isn't with the server.

dddave’s picture

Problem solved? If not, where are you hosted at?

jnvsor’s picture

oh wait this might be it... should I be using POP or SMTP? xD

Roxanna Alvarez’s picture

I sent this message to 20 people and I receivced this response indicating that not one recipient received it. Is there a fix for this? What do I do? Thank you.

Your message did not reach some or all of the intended recipients.

Subject: Recipie Exchange
Sent: 5/4/2009 8:47 PM

The following recipient(s) could not be reached:

Ati (e.schmid@elsevier.com) on 5/4/2009 8:47 PM
503 Bad sequence of commands. You must specify the recipients of a message before you can send it

silvia de la selva on 5/4/2009 8:47 PM
503 Bad sequence of commands. You must specify the recipients of a message before you can send it

jnvsor’s picture

you're screwd... as am I... IIS sucks, and should be banned from operating due to its clearly non-compliant coding...