This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 17249

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 - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: Java Mail
Similar Threads
Open MS outlook from Java Application
outlook express address book accessing
read Outlook mail and schedules
opening ms outlook from java application
Java Mail