try {
Runtime.getRuntime().exec(
new String[]
{
"rundll32",
"url.dll,FileProtocolHandler",
"mailto:[email protected]?subject=someSubject&[email protected]&[email protected]&body=someBodyText&Attach=c:\\test\\test.doc"
}, null
);
} (IOException ri) {
}
I'm working on this code example which starts E-Mail client from Java application. I can successfully start the E-Mail client but I don't have any attachment. Any idea how I can fix this?