You can't do much, as you won't get a direct feedback.
Typically the sender (from or reply-to) of the mail will
get a feedback mail (but there is no garantee for that)
from the receiving mail server. The format and content
of the mail depends on the mail server and it's
configuration (some
But keep in mind that this isn't completly safe, as you
won't know if the address really exists or the administrator
(the fallback receiver) acted as the receiver.
So this depends on what you really want to achieve and
what requirements you have.
-Ursprüngliche Nachricht-
Von: Jon
Hi Ralph, (and others)
Ralph Einfeldt wrote:
But keep in mind that this isn't completly safe, as you
won't know if the address really exists or the administrator
(the fallback receiver) acted as the receiver.
If the administrator isn't the person who initiated the
transaction, he's going
Of course you should check the syntax of the address
before even opening a session to a mail server, but that
was already discussed in this thread yesterday.
With regular expression you won't know if a syntactical
valid address is a real address.
-Ursprüngliche Nachricht-
Von:
Not completly true. You can use JavaMail to check
the syntax of the address against RFC822. (at least
a subset of it) The constructor of
javax.mail.internet.InternetAddress will throw a
ParseException if it recognises an syntax error.
To verify if the domain has an mx record have a
look at:
As I said, it's just a syntactical check.
-Ursprüngliche Nachricht-
Von: Turner, John [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 9. Oktober 2002 16:27
An: 'Tomcat Users List'
Betreff: RE: How to validate email address in JSP by using javax.mail?
Cool, thanks for the tip.