Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » How Program.launch(mailto) can find email client is not set?
How Program.launch(mailto) can find email client is not set? [message #1219655] Thu, 05 December 2013 04:23
Kosala Yapa is currently offline Kosala Yapa
Messages: 159
Registered: September 2010
Senior Member
Hi there,

I am using Program.launch(mailto) to email a pdf attachment.

I want to send a message to client, when default email client is not set.
How can I throw a message, if default email client is not found? I prefer swt than awt approach.

In awt, I can see Desktop desktop.mail(mailto) throws an IOException, when default email client is not set. But Program.launch() does not.

Any help is appreciated.

cheers,
Previous Topic:How to set id`s to org.eclipse.swt.widgets.Table items and rows
Next Topic:TableViewer refresh does not work in a ViewPart
Goto Forum:
  


Current Time: Sat Apr 19 11:54:52 EDT 2014

Powered by FUDForum. Page generated in 0.02880 seconds