Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Familiar with Coate's MAPI class?
Message
De
03/03/2001 23:59:13
 
 
À
03/03/2001 21:35:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00481699
Message ID:
00481705
Vues:
10
Hi Randy,

I think lcusername and pcpassword should be empty strings for a send, and from memory you need a subject.
If you are getting an OLE error, Outlook is not set up correctly, I think.

HTH

Geoff

>Hi. I am trying (programatically) to send a single e-mail using Nigel Coates e-mail class. Can anyone tell me why the code below does not work??
>
>* -------------------------------------------------------------------------------------------------------------------------------
>Local lcusername, lcpassword, lcrecipients, lcsubject, lcbodytext, lcattachments
>lcusername ='rjwald'
>lcpassword = 'buster'
>lcrecipients = '8503402@skytel.com'
>lcsubject = ''
>lcbodytext = 'statistics from end of day processing'
>lcattachments = ''
>SET CLASSLIB TO mapimail
>oObj = CREATEOBJECT("cusmapi")
>oObj.sendmail(lcusername, lcpassword, lcrecipients, lcsubject, lcbodytext, lcattachments)
>* ---------------------------------------------------------------------------------------------------------------------------------
>
>thanks, Randy
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform