M
Matthew MacDonald
Hi all,
I'm trying to have an email message automatically generated when a button is
clicked on an asp.net web form. I'm using portions of the sample code from
http://msdn.microsoft.com/library/d...tomatingOutlookFromVisualBasicApplication.asp
to try and accomplish this. This code however, throws an error pretty much
right away at the "set OlNs = olApp.GetNamespace("MAPI")" line with an
invalid cast exception. Any suggestions on what could be causing this
and/or what other considerations should be made for using outlook from a web
form?
Thanks in advance,
Matt
I'm trying to have an email message automatically generated when a button is
clicked on an asp.net web form. I'm using portions of the sample code from
http://msdn.microsoft.com/library/d...tomatingOutlookFromVisualBasicApplication.asp
to try and accomplish this. This code however, throws an error pretty much
right away at the "set OlNs = olApp.GetNamespace("MAPI")" line with an
invalid cast exception. Any suggestions on what could be causing this
and/or what other considerations should be made for using outlook from a web
form?
Thanks in advance,
Matt