sys.web.mail err: The requested body part was not found in this message

S

SMG

Hi All,
My Send mail system was working very fine, today suddenly it started
giving me following error. Can any one suggest why this is happening so.
I am using system.Web.Mail

"The requested body part was not found in this message. "

Note : here XXXX and YYYYYYY are company specific info and nothing related
with code.

[COMException (0x800cce05): The requested body part was not found in this
message.]

[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) +473
System.Web.Mail.LateBoundAccessHelper.SetProp(Object obj, String
propName, Object propValue) +87

[HttpException (0x80004005): Could not access 'CDO.Message' object.]
System.Web.Mail.LateBoundAccessHelper.SetProp(Object obj, String
propName, Object propValue) +137
System.Web.Mail.CdoSysHelper.Send(MailMessage message) +107
System.Web.Mail.SmtpMail.Send(MailMessage message) +150
YYYYYYYYY.BusinessComponents.SendMail.SendEMail() in
C:\Inetpub\wwwroot\XXXX\BusinessComponents\SendMail.cs:51
YYYYYYYYY.BusinessComponents.SendMail.send_acknowledgement(String
to_address, String name, String contact_id) in
C:\Inetpub\wwwroot\XXXX\BusinessComponents\SendMail.cs:172

YYYYYYYYY.CommonUserControls.Services.OpenAnAccount.btnSubmit_Click(Object
sender, EventArgs e) in
C:\Inetpub\wwwroot\XXXX\YYYYYYYYY\CommonUserControls\Services\OpenAnAccount.
ascx.cs:125
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108

System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePo
stBackEvent(String eventArgument) +57
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
sourceControl, String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain() +1277
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top