SMTP server nuances
SMTP server nuances
- Subject: SMTP server nuances
- From: Tomas Zahradnicky <email@hidden>
- Date: Tue, 9 Jul 2002 12:28:46 +0200
Hello,
this is quite interesting thing. I've implemented email sender,
however, I've got into problems with MAIL FROM: command. It should be:
MAIL FROM: <"name" email@hidden>
as in RFC 821, but some SMTP servers DOES NOT (!!) understand it:
MAIL FROM:<"aa" email@hidden>
501 Incorrect Address Format
however they rather accept WRONG form:
MAIL FROM: "AA" <email@hidden>
250 "AA" <email@hidden> sender accepted
what should be the best solution for this problem? Trying the first
one and if I get an error, then the second one? However, some servers
does not support the second form (WebStar SMTP server).
AppleMailServer, for example, accepts both. Stripping email to
<email@hidden> is not the right way and users will complain. Did I miss
something or there's a bug in either SMTP server?
-Tomas
--
# Tomas Zahradnicky, Jr
# The Czech Technical University
# Dept of Computer Science, FEE-CTU Prague
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.