try {
Runtime.getRuntime().exec(
new String[]
{
"rundll32",
"url.dll,FileProtocolHandler",
"mailto:a@a.de?subject=someSubject&cc=a@a.de&bcc=a@a.de&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?