Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Outlook Problem
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Outlook Problem
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01603052
Message ID:
01603052
Views:
75
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.
Next
Reply
Map
View

Click here to load this message in the networking platform