I'm using Java to execute a shell command (on windows) to open the default mail client. The mailto
command has a lot of bcc email addresses.
If the list is too long, only some of the addresses will be displayed.
I'm guessing this is due to an issue regarding the max command line length in Windows.
Does anyone have any ideas on how I could fix this? As a last resort, I could paste the addresses into the clipboard, but this is a dirty hack IMHO and any better suggestions would be appreciated.