Is it possible to specify the OE account used when sending out a
message when using CreateMessage?
Thanks
MSM
First, to create a message that will be sent, you should not use the
Demo's "Create message" code, because this code does not add the
message's header properties needed for OE to send the message, it just
creates a message to be stored and showed. You should use the "Send
message" code.
To be able to specify the OE account to use you should first get it's
Account ID Number (I.E. "00000004") and the Account Name associated to
it from the registry in:
HKEY_CURRENT_USER\Identities\Software\Microsoft\Internet Account
Manager\Accounts
Then you should set (with message.SetBodyProp) the
"att:athena-account-id" and "att:athena-account-name" properties with
the desired account's values to the message.
Thank you for contacting Nektra OEAPI Support.
Regards,
Federico
--