I do not think, that this is the right way. What happend if on the client machine Outlook is installed, but another email client is the standard client.
Then I can create an Outlook object, but I want to send emails via the standard client.
>>I want to determine the standard email client. How can I do this.
>>The reason to find out which client is used is, that I want to use Outlook automation if it is Outlook, in the other case I want to use ShellExecute.
>
>You could try to create an Outlook object, then if that fails, go on to use ShellExecute
>
>LOCAL loMail
>loMail = CREATEOBJECT("Outlook.Application") && Not sure if classname is correct
>IF VARTYPE( loMail) = "O" AND NOT ISNULL( loMail)
> Do Outlook stuff
>ELSE
> Do ShellExecute Stuff
>ENDIF