Specify OE Account for outgoing message created using CreateMessage

0 views
Skip to first unread message

ms...@netspace.net.au

unread,
Nov 15, 2006, 7:45:55 PM11/15/06
to Nektra OEAPI Support
Hi All,

Is it possible to specify the OE account used when sending out a
message when using CreateMessage?

Thanks
MSM

Federico Zaina

unread,
Nov 16, 2006, 11:08:08 AM11/16/06
to Nektra...@googlegroups.com
Hello 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

--

http://www.Nektra.com

Reply all
Reply to author
Forward
0 new messages