In Progress

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.

e.g.

<mailboxes>

<mailbox>

<mail></mail>

<user>usernames</user>

<password>password</password>

</mailbox>

<mailbox>

<mail></mail>

<user>usernames</user>

<password>password</password>

</mailbox>

</mailboxes>

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)

e.g.

<mails>

<mail>

<msgID>23456789</msgID>

<fromName>steve</fromName>

<fromMail></fromMail>

<toName>pete</toName>

<toMail></toMail>

<date>dd/mm/yy</date>

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

<subject>hello</subject>

<message>how are you</message>

<attachment>filename.ext</attachment>

<attachment>filename.ext</attachment>

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

</mail>

</mails>

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 mail, write content mails, all spec, java read mailbox file, java mailbox file read, may g, i write, yy, xml script, xml c, steve, read, out, mm, it spec, hh, ext, email write, delete attachment, java reading, incoming xml, pop3 mail server

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

Project ID: #203929

Awarded to:

fstudio

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

$60 USD in 1 day
(55 Reviews)
5.5

9 freelancers are bidding on average $67 for this job

SICS

I can do this

$100 USD in 10 days
(6 Reviews)
4.7
RenesansSoftware

Hello. Please read pm.

$80 USD in 1 day
(5 Reviews)
4.0
soner

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

$90 USD in 1 day
(6 Reviews)
3.7
csharpmaster

4 days for completed project

$90 USD in 4 days
(0 Reviews)
0.0
aectann

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)
0.0
sapple

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)
2.0
smartguy

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)
0.0
icodeforfun

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

$50 USD in 5 days
(0 Reviews)
0.0
am786

Please check my PM

$30 USD in 3 days
(0 Reviews)
0.0