Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining the sender using MAPI Message control
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Determining the sender using MAPI Message control
Miscellaneous
Thread ID:
00793967
Message ID:
00793967
Views:
65
I'm working with MAPI control in VFP8 to send mails programmatic and this works correctly.
But I need to determine the mail's sender, for example,
I have in the outlook many mails accounts and I want to use one in particular to send the mail.

The code:
This.oleMMess.compose
This.OleMMess.recipaddress= "destination@mail.com"
This.OleMMess.ResolveName
This.OleMMess.msgnotetext= "Body text"
This.OleMMess.msgsubject= "Subject text"
This.OleMMess.send(0)
Exist the property
MsgOrigAddress
, it doesn't work, it's read only.
I can't select from among mails accounts to send programmatically the mail.

Any idea?
thanks in advance
Next
Reply
Map
View

Click here to load this message in the networking platform