Hi
Yes, I meant that the email is invalid.  So you are saying that there is no
way to determine that the email address is invalid.  If this is the case,
then what is the advantage of (MessagingException, SendFailedException,
..etc). also what is the advantage of ConnectionListener, TransportListener.

Thanks for your help.
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 07, 2000 5:17 PM
Subject: RE: What if the recipient address is wrong


> What do you mean by "incorrect".  If by "incorrect" you mean invalid email
> addresses, then you're out of luck.  It doesn't check to see if the
> addresses are valid before sending the email.  For example, if the "from"
> address does not contain an "@" sign, the message may not be sent if using
a
> Microsoft Exchange Server. However, that's more an issue of the mail
server
> than it is the JavaMail API.  If the mail server determines if the
addresses
> are "valid".  The JavaMail API simply formats the message and parameters
> properly for an SMTP mail host.
>
>
> > -----Original Message-----
> > From: Aimn [SMTP:[EMAIL PROTECTED]]
> > Sent: Monday, February 07, 2000 5:53 PM
> > To: [EMAIL PROTECTED]
> > Subject: What if the recipient address is wrong
> >
> > Hi everyone
> > I am using JavaMail API to send emails.  Everything works for me with
one
> > exception: when the "to" or "from" addresses are incorrect, I don't get
an
> > exception letting me know about that.  Could someone please tell me what
I
> > am doing wrong.
> >
> > thanks in advance
> >
> >
==========================================================================
> > =
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > JSP-INTEREST".
> > FAQs on JSP can be found at:
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to