Two Laptop Bag*
The moose likes Other JSE/JEE APIs and the fly likes Generation of report Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Generation of report" Watch "Generation of report" New topic
Author

Generation of report

chetan dhumane
Ranch Hand

Joined: Jan 07, 2009
Posts: 629

Hello all ,

I am using Javamail API to send mails.I want to generate reports of bounced mails.
How can i generate the reports for using the same.

Thanks
Chetan

http://www.androcid.com/
chetan dhumane
Ranch Hand

Joined: Jan 07, 2009
Posts: 629

Hello all ,

I am using Javamail API to send mails.I want to check the status for bounced mails.
How can I get the status for bounced mail

e.g. If I send 10 mails using my program, from which 2 of them are wrong mail Id's
I want to show the status of send mail in a report. Where I have show it in
Send mail : 10
Successful : 8
Bounced mail : 2

please tell me the way to get the bounced mail.....

Thanks
Chetan
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19656
    
  18

Chetan, please use the Edit button if you feel your new post is missing some information.

To retrieve the bounced emails, you will need to read the contents of the account you are using to send the emails from, check the new messages and parse them (most notably the subject) to determine whether or not it was bounced.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Generation of report
 
Similar Threads
Report generator
generating tables dynamically
reports
Reports
How to Generate Reports using Java Servlets