Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Programmaticaly attachement with outlook using java

807589Dec 29 2008 — edited Dec 29 2008
Hi All,

I used this code
                  Runtime.getRuntime().exec(
	          new String[] {"rundll32", "url.dll,FileProtocolHandler",
	          "mailto:" + "&subject=" + "testmail" + "&attachment="+"\"" + "C:\\test.txt" + "\""}, null
	          
	          );
                   
.

Once execute, it will open outlook express along with subject, but without attachment.
I want to send the attachment programmatically using java..

If anybody come across this issues, share your ideas...

Edited by: SARAV_RS on Dec 28, 2008 11:09 PM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 26 2009
Added on Dec 29 2008
15 comments
293 views