c++ - Get rid of security message Outlook -
i'm writing application needs access outlook address book, however, every time launch warning message shown saying application trying access adress book. i've noticed behaviour machines no antivirus installed. how rid of message?
here part of code use retreive emails related informations
capplication l_application; l_application.createdispatch("outlook.application"); cnamespace l_namespace = l_application.getnamespace(_t("mapi")); cmapifolder l_mapifolder = l_namespace.getdefaultfolder(olfolderinbox); citems l_items = l_mapifolder.getitems(); m_mailitem = l_items.getlast(); m_mailitem.save(); //get infos (mail's size, from, to, conversation topic...)
capplication, cnamespace, citems generated automatically, , m_mailitem cmailitem object.
see http://www.outlookcode.com/article.aspx?id=52 list of options. can either make sure up-to-date antivirus app installed or use redemption.
Comments
Post a Comment