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