Ryan, Here is what I get when I click the link that you provided below:
Sorry, Could Not Find the URL /students/ryanolshansource/filesource.aspx. Can you post your code? Mark --- Ryan Olshan <[EMAIL PROTECTED]> wrote: > I built an ASP.NET email form and I get the below > error when I > submit it. The code can be viewed at > http://www.learnasp.com/students/ryanolshansource/filesource.aspx. > > It appears that no To email address is being passed, > but I can't > seem to pinpoint exactly where the issue is in the > code. I have > tried all the suggestions on systemwebmail.com, but > it didn't help. > > Thank you, > Ryan > > The following exception occurred: > 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 > (0x8004020C): At least > one recipient is required, but none were found. --- > 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) at ASP.default_aspx.MailCompose(String > header, String > fromName, String fromEmail, String to, String cc, > String subject, > String importance) in > D:\Domains\learnasp.com\wwwroot\students\RyanOlshan\default.aspx:line > 155 > > The following InnerException reported: > System.Reflection.TargetInvocationException: > Exception has been > thrown by the target of an invocation. ---> > System.Runtime.InteropServices.COMException > (0x8004020C): At least > one recipient is required, but none were found. --- > 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) > > The following InnerException reported: > System.Runtime.InteropServices.COMException > (0x8004020C): At least > one recipient is required, but none were found. The > following > exception occurred: 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 > (0x8004020C): At least > one recipient is required, but none were found. --- > 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) at ASP.default_aspx.MailCompose(String > header, String > fromName, String fromEmail, String to, String cc, > String subject, > String importance) in > D:\Domains\learnasp.com\wwwroot\students\RyanOlshan\default.aspx:line > 155 > > The following InnerException reported: > System.Reflection.TargetInvocationException: > Exception has been > thrown by the target of an invocation. ---> > System.Runtime.InteropServices.COMException > (0x8004020C): At least > one recipient is required, but none were found. --- > 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) > > The following InnerException reported: > System.Runtime.InteropServices.COMException > (0x8004020C): At least > one recipient is required, but none were found. The > following > exception occurred: 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 > (0x8004020C): At least > one recipient is required, but none were found. --- > 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) at ASP.default_aspx.MailCompose(String > header, String > fromName, String fromEmail, String to, String cc, > String subject, > String importance) in > D:\Domains\learnasp.com\wwwroot\students\RyanOlshan\default.aspx:line > 155 > > The following InnerException reported: > System.Reflection.TargetInvocationException: > Exception has been > thrown by the target of an invocation. ---> > System.Runtime.InteropServices.COMException > (0x8004020C): === message truncated === Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
