I need to implement Email functionality in my Java application which will open microsoft outlook and attach a file from my directory. Has any implemented the same?
According to these docs the command you need is
"path/to/Outlook.exe /c ipm.note /a "path/to/attachment""
Assemble this and run it via ProcessBuilder
ProcessBuilder
(Or listen to MarcoS who gives a very good example of why it's sometimes better not to literally answer questions :-))
1.4m articles
1.4m replys
5 comments
57.0k users