• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
SMTP server nuances
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: SMTP server nuances
      • From: Tomas Zahradnicky <email@hidden>
  • Prev by Date: Re: compressing files on macintosh
  • Next by Date: Re(2): compressing files on macintosh
  • Previous by thread: Re: compressing files on macintosh
  • Next by thread: Re: SMTP server nuances
  • Index(es):
    • Date
    • Thread