A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCM Java EE 6 Enterprise Architect Exam Guide
this week in the
Other JSE/JEE APIs
how to read the contents of a mail in inbox?
Joined: Aug 13, 2006
Jun 11, 2012 08:04:55
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.
William P O'Sullivan
Joined: Mar 28, 2012
Jun 11, 2012 09:06:19
"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.
Joined: Oct 27, 2005
Jun 11, 2012 13:32:48
William is right -- we are
. If you
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
It is sorta covered in the
JavaRanch Style Guide
subject: how to read the contents of a mail in inbox?
How to show proper mail contant
Viewing contents of a mail
FormFeed in javamail
Mail application - General
Email with arabic characters displaying junk
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014