Hi Betrand,

are you absolutely sure that no email server and email processing application will ever drop/reject an email if contains an invalid <From> address?

Cheers,

Siegfried Goeschl

MERLIN Bertrand wrote:
hello,

i'm actually using  javamail 1.2 + commons email 1.0 in an business
application

We don't want to enforce users to provide valid from adresses. It's not a
serious problem because the mail is still delivered.

We need an evolution and it's the good time to upgrade to javamail 1.4.1 +
commons email 1.1 ...

But mails are no more delivered because of the :

            // run sanity check on new InternetAddress object; if this fails
            // it will throw AddressException.
            address.validate();

            in Email.createInternetAddress

With  javamail 1.4.1 +  commons email 1.0, it's still work ...

Is there any way to bypass the control ?

Don't you think that sanity chek is always good for <ReplyTo> but may be
discussed for <From> ?

thank you for your work and enduring my frenchy way of talking.

------------------------------------------------------------------------

Post-scriptum La Poste

Ce message est confidentiel. Sous réserve de tout accord conclu par
écrit entre vous et La Poste, son contenu ne représente en aucun cas un
engagement de la part de La Poste. Toute publication, utilisation ou
diffusion, même partielle, doit être autorisée préalablement. Si vous
n'êtes pas destinataire de ce message, merci d'en avertir immédiatement
l'expéditeur.



------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to