Christian Parpart wrote:
Hi all,

I'm having a code fragment that's responsible for sending mails directly via localhost:25. However mx01.kundenserver.de[212.227.15.186] gave me a 550 saying "<[EMAIL PROTECTED]>: invalid address (in reply to RCPT TO command)".
But why? What's wrong there? Or else... what's the right syntax for RCPT TO when not mine:


RCPT TO: <[EMAIL PROTECTED]>

my local postfix accepted them, as always, but mx01.kundenserver.de doesn't seem so.

The < > around the email address are only used in the email headers, for example:

To: "Some Person" <[EMAIL PROTECTED]>

Some email servers must expect this broken behavior (from clients) and handle it fine, but apparently others don't.

--
Andrew Gaffney                            http://dev.gentoo.org/~agaffney/
Gentoo Linux Developer                                   Installer Project

Reply via email to