This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Other JSE/JEE APIs and the fly likes JavaMail question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Reply locked New topic

JavaMail question

Alexander D�ubler

Joined: Feb 15, 2006
Posts: 11

I'm currently implementing a web application which enables the creation of certain documents (PDF respectively DOC) using a servlet and displays the documents in a browser after they have been created.

Now mail functionality is to be added to the application as follows: after the document has been created, it is to be sent to a particular address as an e-mail attachment.

Now I face the following problem: the document is created on the server. Is it possible to send the document as a mail attachment to the receiver without any additional authentication necessary? After the user has logged on to the OS there shouldn't be any further password queries.

Does JavaMail provide any solution for this problem?

Or is there any other solution not related to the JavaMail technology???

Thanks, Alex
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42959
Since this seems to be essentially the same question as the one posted to the Servlets forum, and that one has answers already, I'm closing this one.
I agree. Here's the link:
subject: JavaMail question
It's not a secret anymore!