Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Outlook
Message
De
09/12/2004 18:08:09
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Outlook
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows XP
Network:
Windows NT
Database:
Visual FoxPro
Divers
Thread ID:
00968176
Message ID:
00968176
Vues:
55
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()
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform