how to get message date

7 views
Skip to first unread message

Sudheer Singh

unread,
Nov 13, 2009, 1:20:11 AM11/13/09
to nektra...@googlegroups.com
Hi
i am using OEAPI standard 3.2.3. i am able to access all attributes of
message except date . can you help me how to get message date. any
help regarding this will be appreciable.

thanks
Sudheer Kumar Singh
Bangalore

Nektra OEAPI Support

unread,
Nov 13, 2009, 9:09:48 AM11/13/09
to nektra...@googlegroups.com
Hi Sudheer,

Here goes an example of how to get the date:

if (message != null)
{
int bh = message.GetBodyHandle(0,
tagOEAPIBODYLOCATION.OE_IBL_ROOT);
int exists;
MessageBox.Show(message.GetBodyProp(bh,
tagOEAPIMIMEPROPID.OE_PID_HDR_DATE, out exists));
Marshal.ReleaseComObject(message);
message = null;
}

Thank you for contacting Nektra's OEAPI Support.

Regards,

Federico

--
Nektra Advanced Computing
http://www.nektra.com
Reply all
Reply to author
Forward
0 new messages