What about the system administrator mails

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AcidAndroid
    New Member
    • Mar 2009
    • 1

    What about the system administrator mails

    [Edit] This question is in regards to this article.[/Edit]


    Hi, you code works fine , but i have a trouble reading the mails talking about "undelivery mail" you know when you get a mail when you send a mail to a wrong address.
    When the loop try to read the system manager message (mail) it always get an exception talking about a Unable to cast a COM object 'System.__ComOb ject' to the inteface 'Microsoft.Offi ce.Interop.Outl ook.MailItem'.
    I guess because this "notificati on " is not really a mail, but what kind of object it it?? Can I still using MAPI???
    Thanks for you time
    Last edited by Frinavale; Mar 31 '09, 02:13 PM. Reason: Question split off off article.
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    Could you please post the code that is causing the error?

    Comment

    Working...