File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Java Mail Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Java Mail" Watch "Java Mail" New topic

Java Mail

asalatha channamallu

Joined: Jul 22, 2004
Posts: 2
I got some list of documents in my application. My requirement is, I need to select some documents and whenever I hit the submit button from my outlook new mail window must be open and the selected documents should be send as attachments.
I don't know how to do this. how can I trigger outlook from my java program?
Can somebody help me out?
Thanks in advance.
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

Why do you want to include Outlook in this process? Its just an MTA - it would be easier to bypass it and just send messages to an SMTP server. In which case I'd go and look at the JavaMail tutorial on the Sun site.

(BTW this is nothing to do with servlets, so you'd be better posting it in the Other API forum where JavaMail questions normally go)

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

I am going to move this thread to the more appropriate forum. Other Java APIs.

Paul, thanks for pointing that out.


Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: Java Mail
It's not a secret anymore!