File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other JSE/JEE APIs and the fly likes email sending service 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 "email sending service" Watch "email sending service" New topic

email sending service

Rodrigo Bossini
Ranch Hand

Joined: Jul 03, 2009
Posts: 113

I'm developing a service to send and receive emails for my company.

Basically, I configure an email account from which it will download emails, and an smtp account which it will use for sending the emails.

I'm using javamail 1.4.3.

At the moment we are using the EML format to deal with the files.

For example, when downloading an email, we save it locally as an EML file so our other applications can read it and deal with it as they need to.

Also, when one of our other applications need to send an email, they have to create an EML file with the content they want to send, and save it in one specific local folder so our email sending service can read the EML file and then send it.

My question is the following:

Is that really the better approach?

I think it's kind of complicated to our other application to have to deal with EML files. To do this they must use the javamail API too, which I was thinking should only be used by our email sending service.

Any suggestions would be greatly appreciated.

I see wind mills
I agree. Here's the link:
subject: email sending service
It's not a secret anymore!