Mylsamy 0 Newbie Poster

Hi all,

How to I know the Delivery Status of Sending Email.

I am Using JavaMail API to send an Email to ToUser.

The code is :

SMTPTransport tr = (SMTPTransport) poSession.getTransport("smtps");
tr.connect(mailhost,psFromMailId,psPassword);
tr.sendMessage(poMessage,poMessage.getAllRecipients());

Is there Any method to get the Status?

Please help me

Thanks

Myl..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.