2012/6/26 Eric Charles <[email protected]>: > On 06/26/2012 11:07 AM, Stefano Bagnara wrote: >> "MAIL FORM:<>" is REQUIRED to work. This is the way DSN bounce are >> delivered. >> Mailservers not supporting this "sender" are listed by >> http://www.rfc-ignorant.org/ > > I was supposing that, but didn't take time to point the exact line in the > RFC. > > We'd better throw a NonCompliantRfcException than a AddressException, > especially when it is thrown by the MailAddress constructor.
Eric, we "CAN'T" throw an error or an exception. The empty address in FROM is a COMPLIANT address and we have to accept it. I'm not sure why that error doesn't happen after MAIL FORM but happens after "DATA's ending dot", but sounds like a bug in needs for a JIRA issue and a test case. Stefano --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
