|
Regarding opening mail within "windows" from a command prompt and escaping the amperdands, you need to write a command as follows: Start mailto:"somebody?subject=some%20words%20separated%20by%20spaces&body=Some%20 text%20in%20the%20body%20of%20the%20mail&cc=copyPerson&bcc=blindCopyPerson" By enclosing the part of the URL after the protocol specifier (mailto:) within quotation marks you will be able to write a standard mailto URL and run it from cmd.exe. Just copy the URL above and paste it into DOS - it should work fine - showing a mailto, cc, bcc, subject, and body. You already know how to issue a cmd.exe command from within java so it should now just be a case of putting it all together. Cheers Larry Ducie
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.