Accessing Outlook from an ASP.Net page

Last post 09-08-2009 4:03 PM by mark@markhembree.com. 7 replies.

Sort Posts:

  • Accessing Outlook from an ASP.Net page

    06-18-2009, 3:11 PM
    • Member
      62 point Member
    • hschutte
    • Member since 05-15-2006, 5:11 AM
    • Posts 16

    I need to display outlook emails on an ASP.Net web page and determine which item is currently selected (to determine the subject and contents of the email). I'm using the OutlookViewCtl control which works very nicely in displaying the items but I can't find any way of determining which item is currently selected. Using the Selection property of the control gives a Permission Denied error.

    Is there anyway to do this from an ASP.Net page?

    I'm using the following code to create the object:

    <OBJECT id=ViewCtlFolder codeBase=http://activex.microsoft.com/activex/controls/office/outlctlx.CAB#ver=9,0,0,3203 height=430 width="100%" classid=CLSID:0006F063-0000-0000-C000-000000000046>
       <PARAM NAME="Namespace" VALUE="MAPI">
       <PARAM NAME="Folder" VALUE="Calendar">
       <PARAM NAME="View" VALUE="Day/Week/Month View With AutoPreview">
       <PARAM NAME="Restriction" VALUE="">
       <PARAM NAME="DeferUpdate" VALUE="0">
    </OBJECT>

    Filed under: ,
  • Re: Accessing Outlook from an ASP.Net page

    06-30-2009, 3:09 AM

    Hello,

      I am trying to access outlook 2007, shared  calendar folder.

    If you know how can we do it please suggest, we badly need your advice.

  • Re: Accessing Outlook from an ASP.Net page

    06-30-2009, 3:21 AM
    • Member
      54 point Member
    • anantDD
    • Member since 01-26-2007, 10:14 AM
    • Posts 22

    Hi!

    Try creating object of Microsoft.Office.Interop.Outlook.Application type. U can access all outlook entries with this object.

    Regards,
    Anant Deshmukh
  • Re: Accessing Outlook from an ASP.Net page

    06-30-2009, 4:21 AM

    Hello,

      I am trying to access outlook 2007, shared  calendar folder.

    If you know how can we do it please suggest, we badly need your advice.

  • Re: Accessing Outlook from an ASP.Net page

    07-01-2009, 7:49 AM
    • Member
      54 point Member
    • anantDD
    • Member since 01-26-2007, 10:14 AM
    • Posts 22

    Hi!

       Visit following link.

    http://msdn.microsoft.com/en-us/library/ms268893(VS.80).aspx

     

    Hope it may help.

    Regards,
    Anant Deshmukh
  • Re: Accessing Outlook from an ASP.Net page

    07-02-2009, 8:57 AM
    • Member
      62 point Member
    • hschutte
    • Member since 05-15-2006, 5:11 AM
    • Posts 16

    prashanthganathe:

    Hello,

      I am trying to access outlook 2007, shared  calendar folder.

    If you know how can we do it please suggest, we badly need your advice.

     

    Why did you hijack my thread? Please start a seperate thread for you question.

  • Re: Accessing Outlook from an ASP.Net page

    08-04-2009, 4:41 AM

    Hello hschutte,

        my apologies will never do it again :).



  • Re: Accessing Outlook from an ASP.Net page

    09-08-2009, 4:03 PM

     I am trying to do something similar to your post...did you ever get an answer? I am trying to read emails in my local outlook file and import selected items into my web site. so it has to be run with a web page.

    thanks,

    mark

Page 1 of 1 (8 items)