wood burning stoves 2.0*
The moose likes Other JSE/JEE APIs and the fly likes how to read the contents of a mail in inbox? 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 "how to read the contents of a mail in inbox?" Watch "how to read the contents of a mail in inbox?" New topic
Author

how to read the contents of a mail in inbox?

shunmuga ganapathy
Greenhorn

Joined: Aug 13, 2006
Posts: 4
Hello All,

I want to know how to process the contents in a mail, if the body of the mail is in xml?
Help me with the code.

Thanks
William P O'Sullivan
Ranch Hand

Joined: Mar 28, 2012
Posts: 859

"Help me with the code" - Sorry, No.

First of all you have to get the mail contents, then use an XML parser to process.

There are many documented ways to do this.

WP
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19723
    
  20

William is right -- we are NotACodeMill. If you SearchFirst you will definitely find several examples on how to read the contents of a mailbox.


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: how to read the contents of a mail in inbox?