Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Emailing from VFP using Outlook
Message
De
10/05/2001 09:19:23
 
 
À
09/05/2001 18:05:00
J Chris Powell
Myers and Stauffer Lc
Kansas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00505341
Message ID:
00505720
Vues:
22
This is the code I'm using to send emails.
Select EmailQuery
go top
SCAN for EmailQuery.email <> " "
UserName="SLHEDGE"
Password="SLHEDGE"
Recipient=EmailQuery.email
MailSubject="DPB DAILY RUN Status"
MailMsg=msg
MailObj=CreateObject("Outlook.Application")
NameSpace=MailObj.GetNameSpace("mapi")
NameSpace.Logon(UserName,Password)
MailItem=MailObj.CreateItem(0)
MailItem.Recipients.Add(Recipient)
MailItem.Subject=MailSubject
MailItem.Body=MailMsg
MailItem.Send
NameSpace.Logoff
WRITE_TO_LOG("Email just sent to "+Recipient)
Loop
ENDSCAN
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform