Whilst blank sender addresses are probably not common and may need to be handled as
erroneous, I notice that currently, a blank sender address in an SMTP header results
in the following exception:
2000.11.25 12:27:01 584 (ERROR) from SMTP: Error parsing sender address: : String
index out of range: 0
The email address "<>" is having its triangular brackets removed and then passed to
the constructor of MailAddress, which throws the exception on the empty String.
I'm not sure how these should be handled, otherwise I would have provided a patch.
Cheers,
Stuart.
** We are currently experiencing prolonged difficulties with our email **
** provider DIGIWEB and INTERLIANT. To guarantee that your response **
** is received, please replace "adolos.com" with "adolos.co.uk" **
** in your response. **
-------------------------------------------------------------------------
Stuart Roebuck [EMAIL PROTECTED]
Lead Developer Mac OS X, Java, XML, etc.
ADOLOS http://www.adolos.com/
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives: <http://www.mail-archive.com/james%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]