P
pacarrier
Hi,
I'm trying to send email through a Windows Service app.
using System.Web.Mail.SmtpMail and I get the following
exception:
System.Web.HttpException: Could not access 'CDO.Message'
object.
---> System.Reflection.TargetInvocationException:
Exception has been thrown by the target of an
invocation. --->
System.Runtime.InteropServices.COMException (0x80040220):
The "SendUsing" configuration value is invalid.
My code works fine with a console application or a
Windows forms application. Is it possible to make it
work in a Windows Service? if not, any work around?
Thank you.
PA
I'm trying to send email through a Windows Service app.
using System.Web.Mail.SmtpMail and I get the following
exception:
System.Web.HttpException: Could not access 'CDO.Message'
object.
---> System.Reflection.TargetInvocationException:
Exception has been thrown by the target of an
invocation. --->
System.Runtime.InteropServices.COMException (0x80040220):
The "SendUsing" configuration value is invalid.
My code works fine with a console application or a
Windows forms application. Is it possible to make it
work in a Windows Service? if not, any work around?
Thank you.
PA