Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Outlook Problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Outlook Problem
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01603052
Message ID:
01603052
Vues:
76
I am using the following code to send emails to customers
under program control. For the last month it seemed to
work fine. But now I'm getting a error saying Outlook
doesn't recognize one or more names.

Any help on what that actually means would be great.

Brad

memail = alltrim(gencmt) && email address for customer
mfile = 'c:\transfer\test\emails\'+mfile
**********************************************************
o=createobject("outlook.application")
oitem=o.createitem(0)
oitem.subject="SSC Customer Water Bill"
oitem.to = memail
oitem.body="See attachment for current water bill"
oitem.Attachments.Add(mfile)
oitem.send
o=.null.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform