Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Outlook
Message
From
09/12/2004 18:08:09
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Outlook
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows XP
Network:
Windows NT
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00968176
Message ID:
00968176
Views:
56
I am sending e-mail using Outlook. My user is telling me that the e-mails are orginating from another person (the from address is another user)! And sure enough a reply goes to the other user. I do not reference a profile or logon info. This is the code.
  loOutlook=CREATEOBJECT('outlook.application')
  loSpace=loOutlook.getnamespace('mapi')
  lomail=loSpace.GetDefaultFolder(6)
  lomail.items.add()
  newmsg=lomail.items.add()
  lcThisr=lcRecipient      
  newmsg.recipients.add(lcThisr)
  newmsg.subject=lcSubject
  newmsg.body=lcBody
  newmsg.send()
Next
Reply
Map
View

Click here to load this message in the networking platform