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???