If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
dialog comes up when trying to access mailItem
I am writing an Outlook COM add-in in C# .NET. When I try to access mail
item, An outlook dialog box comes up asking: A program is trying to access e-mail addresses you have stored in Outlook. Do you want to allow this? If this is unexpected, it may be a virus and you should choose "No". Allow access for 1-10 minutes. YES, NO, HELP Any idea, how to allow access to this COM plug-in. There is no option for allow access for always, only a max of 10 minutes.. This dialogbox again comes up after 10 minutes, thus halting my application. Regards, Neo |
Ads |
#2
|
|||
|
|||
dialog comes up when trying to access mailItem
MailItem is not restricted however certain properties of MailItems are
restricted. For example reading .Body or any email address property. To avoid that you need to use a 3rd party library such as Redemption or use Extended MAPI (C++ or Delphi only). Unfortunately even with only running on Outlook 2003 and following the rules for a trusted COM addin you're out of luck since .NET addins are never trusted. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Neo" wrote in message ... I am writing an Outlook COM add-in in C# .NET. When I try to access mail item, An outlook dialog box comes up asking: A program is trying to access e-mail addresses you have stored in Outlook. Do you want to allow this? If this is unexpected, it may be a virus and you should choose "No". Allow access for 1-10 minutes. YES, NO, HELP Any idea, how to allow access to this COM plug-in. There is no option for allow access for always, only a max of 10 minutes.. This dialogbox again comes up after 10 minutes, thus halting my application. Regards, Neo |
#3
|
|||
|
|||
dialog comes up when trying to access mailItem
How to create a trusted COM addin?
Any pointers? -Neo "Ken Slovak - [MVP - Outlook]" wrote in message ... MailItem is not restricted however certain properties of MailItems are restricted. For example reading .Body or any email address property. To avoid that you need to use a 3rd party library such as Redemption or use Extended MAPI (C++ or Delphi only). Unfortunately even with only running on Outlook 2003 and following the rules for a trusted COM addin you're out of luck since .NET addins are never trusted. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Neo" wrote in message ... I am writing an Outlook COM add-in in C# .NET. When I try to access mail item, An outlook dialog box comes up asking: A program is trying to access e-mail addresses you have stored in Outlook. Do you want to allow this? If this is unexpected, it may be a virus and you should choose "No". Allow access for 1-10 minutes. YES, NO, HELP Any idea, how to allow access to this COM plug-in. There is no option for allow access for always, only a max of 10 minutes.. This dialogbox again comes up after 10 minutes, thus halting my application. Regards, Neo |
#4
|
|||
|
|||
dialog comes up when trying to access mailItem
Derive all your Outlook objects from the Application object passed to you in
On_Connection. This only works for Outlook 2003. No trusted addins for Outlook 2000 or 2002 unless they are trusted using the Exchange security form in the special Exchange public folder. Outlook 2003 addins created using .NET languages and using the Interop are never trusted. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Neo" wrote in message ... How to create a trusted COM addin? Any pointers? -Neo |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Font Size Problem in Options Dialog Box | Wayne Boatwright | Outlook - Installation | 0 | March 7th 06 02:04 AM |
Location info dialog box | kathrynatgwens | Outlook - General Queries | 1 | February 27th 06 05:54 PM |
How can I create a MailItem that displays like a received MailItem ? | Clive | Outlook - Using Forms | 0 | February 27th 06 04:14 PM |
Resource Scheduled dialog box | FBGWeezer | Outlook - Calandaring | 1 | February 24th 06 04:23 PM |
Word print dialog box | Martin | Outlook - Using Forms | 1 | January 31st 06 01:05 PM |