Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Help!! Message Delivery confirmed,even though mail is not sent

843830Feb 21 2002 — edited Feb 25 2002
I am working on email notifications Engine.
I am using java mail api 1.2 and smtp server to send email using .I am able to send emails when I use correct address .
Since I Also use Listeners to catch exceptions but
TransportEvent (Message Delivered) is triggered and no exceptions are being caught.
Even though I receive an undeliverable mail in my account on email server(I tried both firstClass and MS outlook Server).

Is there any setting that needs to be turned on to catch the exception.

Can anyone tell me what i am doing wrong??
//*******************************************************************************************
//The messages received by using listeners
DEBUG SMTP SENT: MAIL FROM:<jgangadharan@interchangedigital.net>
DEBUG SMTP RCVD: 250 2.1.0 jgangadharan@interchangedigital.net....Sender OK

DEBUG SMTP SENT: RCPT TO:<jgangadhanterchangedigital.com>
DEBUG SMTP RCVD: 250 2.1.5 jgangadhanterchangedigital.com@interchangedigital.net


Verified Addresses
jgangadhanterchangedigital.com
DEBUG SMTP SENT: DATA
DEBUG SMTP RCVD: 354 Start mail input; end with <CRLF>.<CRLF>

DEBUG SMTP SENT:
.
DEBUG SMTP RCVD: 250 2.6.0 <3482471.1014307338246.JavaMail.jgangadharan@mob2ks2
Queued mail for delivery
TransportListener.messageDelivered().Valid Addresses:
jgangadhanterchangedigital.com
DEBUG SMTP SENT: QUIT
ConnectionListener.closed()
//*******************************************************************************************
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 25 2002
Added on Feb 21 2002
11 comments
222 views