Skip to main content

Desktop.mail() problem with Windows Mail

1 reply [Last post]
tigrou01
Offline
Joined: 2007-02-09

Good morning,
I need to use the JDIC library with the function :

Message mail = new Message();
Desktop.mail( mail );

I made two tests with differents email boxes ( Windows mail and Thunderbird ).
When i check the possibility to use windows application i receive the following message :

"Exception in thread "AWT-EventQueue-0" java.lang.UnsupportedOperationException: Current system default mailer is not supported."

BUT when i use the thunderbird emailing, there's no trouble.

To do my test, i have to change the following key :
"HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail"

Please let me know what's wrong or not correct. Thanks a lot. Best regards.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
tigrou01
Offline
Joined: 2007-02-09

In fact, find the problem.
The function org.jdesktop.jdic.desktop.internal.impl.ServiceManagerStub.getService(Unknown Source) test the different mail :Thunderbird, Outllok windows

But not WinowsMail...

Do u know if "Windows Mail" will be do.