How to supress outlook dialog box in C#

  • Thread starter Thread starter Sopya
  • Start date Start date
S

Sopya

Hello Sir/Madam,
I have developed one Windows application to reading the mails from
outlook. But during reading mails programmatically I got this outlook
dialog box and I have to
Check “Allow access for” check box manually. I am trying to find the
solution, that it wont ask for such option or not to display the any
outlook dialog box so that I don’t need to do the things manually.

If you have any option (By C# code or any outlook setting) then please
let me know.

With Regards,
Swapnil Mohod
 
Hello Sopya,
Hello Sir/Madam,
I have developed one Windows application to reading the mails from
outlook. But during reading mails programmatically I got this outlook
dialog box and I have to
Check “Allow access for†check box manually. I am trying to find the
solution, that it wont ask for such option or not to display the any
outlook dialog box so that I don’t need to do the things manually.
If you have any option (By C# code or any outlook setting) then please
let me know.

With Regards,
Swapnil Mohod

Look at Outlook Redemption.

http://www.dimastr.com/redemption/

Kar
 
Hello Sir/Madam,
I have developed one Windows application to reading the mails from
outlook. But during reading mails programmatically I got this outlook
dialog box and I have to
Check “Allow access for” check box manually. I am trying to find the
solution, that it wont ask for such option or not to display the any
outlook dialog box so that I don’t need to do the things manually.

If you have any option (By C# code or any outlook setting) then please
let me know.

This is the wrong group for this question, although I am going to give
you a suggestion. I would ask additional followups in the windows forms
group, as it is more applicable.

My primary questions is why you have to use Outlook to access the mail?
If you are checking mail programatically, you can do it on the server
itself, which will not pop up the dialog in question. It is also a
better option, as you are dealing with the true source of the emails.
With Exchange, you can use IMAP and you have POP for other types of
servers, so a simple factory and two access protocols can solve the
problem for all types of servers. Perhaps hitting Outlook is a bit
easier, but you are removing yourself from the source.

If you must go the Outlook route, I would use the Outlook automation
bits or find a good third part Outlook library.

Peace and Grace,

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

*******************************************
| Think outside the box! |
*******************************************
 
Back
Top