Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using ShellExecute to send a GroupWise e-mail
Message
 
 
À
15/05/2000 14:16:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00368594
Message ID:
00392658
Vues:
9
>>Bill,
>>
>>There's an article on my website showing all the named items that the MS mailto: target support. You should be able to find the some documentation on the Groupwise version from them.
>>
>>
>>>lcMailTo = "mailto:" + ALLT(lcRecipient) + IIF(NOT EMPTY(lcSubject), "?subject=" + lcSubject, "")
>>>
>>>This works fine for Outlook or Outlook Express. However when we try to do this on a machine that is using GroupWise as their e-mail client (which has a FROM field as well as a TO field), the mailto address winds up in the FROM: field, and the subject winds up in the TO: field. I've been handed the responsibility of correcting this problem, but I'm not even close to a Win32API expert.
>>>
>>>Is there any way that I can force the mailto: address into the TO field, regardless of wheter I am using Outlook or GroupWise (or Lotus Notes, for that matter), or pass an optional from: field that will be ignored if the e-mail client (Outlook) does not make use of it? If not, is there an easy way (i.e., redesigning the e-mail utility with WestWind's tools are not an option) that I can detect what my e-mail client is, and then create my lcMailTo variable accordingly?
>
>
>David,
>
>I checked your site and looked at article qGEN017. It will work fine for an Outlook or Outlook Express client, but still doesn't allow me to specify the FROM clause, which is necessary for GroupWise. Just like my old code, it puts the TO address in the FROM field, the SUBJECT in the TO field, etc.
>
>Has anyone worked with GroupWise before in sending e-mail from VFP? I can't believe I'm the only one who has run into this problem.
>
>Bill

Hi Bill,

I'm having a project, part of it would be sending e-mails (with attachments)using GroupWise. Did you solve your problems? Could you please point me in the right direction to start (which class to use, any problems, etc.). Some code would be really appreciated.

Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform