hi friends,
i am doing a ASP.NET project that display the mails from the outlook.
whatever in inbox, outbox, etc.
when i am getting the mail from inbox, i got the first one(welcome mail from the outlook) correctly.
but the second(received from system administrator for undelivered) it is showing one error like this
"Unable to cast COM object of type 'System.__ComOb ject' to interface type 'Microsoft.Offi ce.Interop.Outl ook.MailItem'. This operation failed because the QueryInterface call on the COM component for the interface with IID "
plz guide me to solve this one
Prabu
i am doing a ASP.NET project that display the mails from the outlook.
whatever in inbox, outbox, etc.
when i am getting the mail from inbox, i got the first one(welcome mail from the outlook) correctly.
but the second(received from system administrator for undelivered) it is showing one error like this
"Unable to cast COM object of type 'System.__ComOb ject' to interface type 'Microsoft.Offi ce.Interop.Outl ook.MailItem'. This operation failed because the QueryInterface call on the COM component for the interface with IID "
plz guide me to solve this one
Prabu
Comment