Jason, This code:
try { // Attempt to read the TO field and see if it errors toAddr = mimeMessage.getRecipients(javax.mail.Message.RecipientType.TO).toString(); } catch (Exception e) { // It has errored, so time for plan B // use the from field I suppose try { mimeMessage.setRecipients(javax.mail.Message.RecipientType.TO, mimeMessage.getFrom()); seems wrong. If there is no To: field, there is no To: field. That might be important. I have already fixed the bug in MailImpl that caused it to crash (NPE). Another problem is also something I need to fix in MailImpl(MimeMessage). There is the possibility that the To: field may be missing the <> (RFC 822 had bad examples), but MailAddress does not tolerate it. --- Noel --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]