We have several production websites on one server all the same ip address. We are using IIS 6.0 on win 2003.
We are getting this error on a new function written in ASP.net when sending email that I didn't write.
"The "SendUsing" configuration value is invalid" on the following line: System.Web.Mail.SmtpMail.Send(mailMessage)
We are able to send email using the same method from other production websites.
The email function works fine in the development environment. I have been looking at the other posts and have checked the SMTP server address. Any help will be greatly appreciated.
here is part of the stack dump:
[COMException (0x80040220): The "SendUsing" configuration value is invalid.
]
[TargetInvocationException: Exception has been thrown by the target of an invocation.]
System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters) +0
System.RuntimeType.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParameters) +468
System.Web.Mail.LateBoundAccessHelper.CallMethod(Object obj, String methodName, Object[] args) +58
[HttpException (0x80004005): Could not access 'CDO.Message' object.]
System.Web.Mail.LateBoundAccessHelper.CallMethod(Object obj, String methodName, Object[] args) +111
System.Web.Mail.CdoSysHelper.Send(MailMessage message) +1848
System.Web.Mail.SmtpMail.Send(MailMessage message) +150
thx.
Susan [ susan ( at ) mind2create dot com ],
2005-08-30 08:37:08
#