Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Identify the default email client
Message
From
21/09/2005 16:27:35
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Identify the default email client
Miscellaneous
Thread ID:
01051778
Message ID:
01051778
Views:
53
I have a button in my application that drafts an email message to the person in the table. The code is this:
oOutlook=CREATEOBJECT("Outlook.Application")
oNewMail=oOutlook.CreateItem(0) 		&& 0 = olMailItem
oNewMail.Recipients.Add(E_mail)
oNewMail.Subject=""
oNewMail.Body=""
oNewMail.display
This works fine if the user has outlook installed as their email client. However my users use a variety of email clients including Eudora and others. Is there a way to programmatically identify the default email client and start it up with code equivalent to the above?

Thanks for any help.
Next
Reply
Map
View

Click here to load this message in the networking platform