Hi everybody
I want to change the default Outlook account before sending a mail.
Actually, my code (VFP9 SP2) is something like this :
oOutlook=Createobject("outlook.application")
oItem=oOutlook.createitem(0)
oItem.subject ="TEST"
oItem.To="tonton@wanadoudou.fr"
oItem.Importance=2
.......something with "SendUsingAccount" but I can't use it.
oItem.display()
oOutlook=.Null.
Does somebody is able to help me by giving the correct syntax for a good solution ?
Thanks a lot.
Bests regards.
JpG
I want to change the default Outlook account before sending a mail.
Actually, my code (VFP9 SP2) is something like this :
oOutlook=Createobject("outlook.application")
oItem=oOutlook.createitem(0)
oItem.subject ="TEST"
oItem.To="tonton@wanadoudou.fr"
oItem.Importance=2
.......something with "SendUsingAccount" but I can't use it.
oItem.display()
oOutlook=.Null.
Does somebody is able to help me by giving the correct syntax for a good solution ?
Thanks a lot.
Bests regards.
JpG