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.
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)