Can someone help me with opening Outlook Mail Client with To, CC, Subject and Body using Java code. Tried with the following code
import java.awt.Desktop;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.UnknownHostException;
try {
desktop.mail( new URI( "mailto:[email protected]?subject=Test%20message" ) );
}
catch ( IOException ex )
{
}
But this code allows me to add only mailto: and Subject , But I need to enter mail address in CC and Want to compose the Body also. Please someone help me... Thanks in Advance.