Environment versions
Network:
Windows 2008 Server
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only