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!

how to get response from smtp server

843834Jan 28 2008 — edited Jan 28 2008
Hi,

I am having a mail sending class which sends the mail using SMTP server. I am sending the mail using the java mail api to connect to smtp server and send it using the method:

msg.setSubject(subject);
msg.setContent(multipart);
transport.sendMessage(msg, msg.getAllRecipients());
transport.close();

Can you guide me if there is any way in which i can get the report (containing status) of all the mails sent in a period of time. i.e. for example: say in last 1 hour. If there is pointer to code available for it, then it would be great!!

Thanks!!
Pallavi
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 25 2008
Added on Jan 28 2008
3 comments
508 views