I
Igor Kolosovski
Hello.
I'm working on C++ ATL add-in for outlook 2007, which should detect if message is encrypted just before send. If no, then check its body using some mask and remind user to encrypt it if necessary. Even better to enable "Encrypt message..." property automatically.
It was not a problem to get _MailItem:
void __stdcall CAddin::OnSend(IDispatch *Obj,VARIANT_BOOL *CancelDefault)
{
CComQIPtr<Outlook::_MailItem> pMi(Obj);
//CComBSTR body;
//pMi->get_Body(&body);
....
}
, but I could not find how to check if message is encrypted. Is there some way?
Thanks in advance!
Submitted via EggHeadCafe - Software Developer Portal of Choice
ADO.NET Handling Concurrency Issues and Null Values in Updates
http://www.eggheadcafe.com/tutorial...62-61d636c0a04a/adonet-handling-concurre.aspx
I'm working on C++ ATL add-in for outlook 2007, which should detect if message is encrypted just before send. If no, then check its body using some mask and remind user to encrypt it if necessary. Even better to enable "Encrypt message..." property automatically.
It was not a problem to get _MailItem:
void __stdcall CAddin::OnSend(IDispatch *Obj,VARIANT_BOOL *CancelDefault)
{
CComQIPtr<Outlook::_MailItem> pMi(Obj);
//CComBSTR body;
//pMi->get_Body(&body);
....
}
, but I could not find how to check if message is encrypted. Is there some way?
Thanks in advance!
Submitted via EggHeadCafe - Software Developer Portal of Choice
ADO.NET Handling Concurrency Issues and Null Values in Updates
http://www.eggheadcafe.com/tutorial...62-61d636c0a04a/adonet-handling-concurre.aspx