problem with smtpmail.send() dot net function in windows 2000 serv

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi all,

i am a.net developer recentely got a problem with smtpmail object of
system.web.mail .when ever i am sending mail using my code ie
SmtpMail.Send(Mailobject) .It shows the following exeption report

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. --- End of
inner exception stack trace --- at System.RuntimeType.InvokeDispMethod(String
name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[]
byrefModifiers, Int32 culture, String[] namedParameters) at
System.RuntimeType.InvokeMember(String name, BindingFlags invokeAttr, Binder
binder, Object target, Object[] args, ParameterModifier[] modifiers,
CultureInfo culture, String[] namedParameters) at
System.Web.Mail.LateBoundAccessHelper.CallMethod(Object obj, String
methodName, Object[] args) --- End of inner exception stack trace --- at
System.Web.Mail.LateBoundAccessHelper.CallMethod(Object obj, String
methodName, Object[] args) at System.Web.Mail.CdoSysHelper.Send(MailMessage
message) at System.Web.Mail.SmtpMail.Send(MailMessage message)

help me
TIA
Aneesh a
 
Back
Top