Read Mailbox and write out XML

Need a very simple script to read a pop3 mailbox and write out an xml file with data in all messages, after reading messages delete.

I also require the attachments to be saved in a unique folder created with the name of the message ID.

The full spec is a follows


Require a java program which will continously run to get incoming emails from our mail server

and output each one to an xml file. This process will connect to the mail boxes every 5 minutes.

The number of mailboxes to connect to will need to be expandable with each mailbox, username and password being defined in an

xml file.














Output content to xml file, with each attachment being put into a folder thats created with the name of the message ID.

(or anything else unique to the email you can suggest)










<time>hh:mm:ss</time> - local time


<message>how are you</message>



<attachment>filename.ext</attachment> ...repeated for each attachment



We may need to add some of our own code to this program at a later date, so fully commented code would be needed and also written

in a way so that we can add to it easily.


Skills: Java, XML

See more: java read mailbox, read mailbox xml, write content easily, write an e mail, we can write that, how to write email, how to write content mails, how to write a unique content, all spec, java read mailbox file, java mailbox file read, xml &, may g, how to write a email, i write, yy, xml script, xml c, write`, write, write some very simple, write c++, steve, read, OUT

About the Employer:
( 1 review ) Ossett, United Kingdom

Project ID: #203929

Awarded to:


Hello, sir. I am very interested in your project. Please see PMB for more detail. Thanks. Michael.

$60 USD in 1 day
(55 Reviews)

9 freelancers are bidding on average $67 for this job


I can do this

$100 USD in 10 days
(6 Reviews)

Hello. Please read pm.

$80 USD in 1 day
(5 Reviews)

I have such script on php. Let me know if interested.

$90 USD in 1 day
(6 Reviews)

4 days for completed project

$90 USD in 4 days
(0 Reviews)

Seems to be quite simple, since I have just worked on similar problem. Think it would take 1 or to days to finish. All the tests will be provided.

$80 USD in 2 days
(0 Reviews)

Hi, We as a team of professionals are interested in working on this project. Looking forward for further correspondence. Regards, Sapple

$75 USD in 2 days
(0 Reviews)

We are a team of professionals working for these projects. We are looking forward for reply from you

$50 USD in 3 days
(0 Reviews)

Project seems interesting and not too complicated. I'm sure I will provide a good, reusable code.

$50 USD in 5 days
(0 Reviews)

Please check my PM

$30 USD in 3 days
(0 Reviews)