Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sending mail by MAPI controls
Message
 
À
22/11/2002 12:58:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00725879
Message ID:
00725900
Vues:
13
Something like:

oSession = CREATEOBJECT("mapi.session")
* objSession.Logon(pLogID)
oSession.Logon()
oMessage = oSession.Outbox.Messages.Add
oMessage.Subject = "subject"
oMessage.Text = "message"

oRecip = oMessage.Recipients.Add
oRecip.name = RECIPIENT
oRecip.Resolve
oMessage.Send
oSession.Logoff

RELEASE oRecip, oMessage, oSession

>I have an idea to handle unrecognized errors with generating error-report (version, memory variables, etc) and sending it via e-mail to developer.
>
>Do anybody have example of composing simple mail using MAPISession and MAPIMessages controls?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform