G
Guest
I am sending an email using ASP.NET (C#)
Below is the code. - str is a StringBuilder that contains the HTML text.
The email is being sent but it is getting truncated. Anyone have any idea
why?
System.Web.Mail.MailMessage
MailMessage oMessage = new MailMessage();
oMessage.Priority = MailPriority.Normal;
oMessage.From = "(e-mail address removed)";
oMessage.To = (e-mail address removed);
oMessage.Subject = "Test Mail";
oMessage.Body = str.ToString();
SmtpMail.SmtpServer = "localhost"
oMessage.BodyFormat = MailFormat.Html;
SmtpMail.Send(oMessage);
The email is in HTML format. The email is being sent but it is getting
truncated. It seems like it only allows a certain fixed length through.
Does anyone have any ideas why?
Below is the code. - str is a StringBuilder that contains the HTML text.
The email is being sent but it is getting truncated. Anyone have any idea
why?
System.Web.Mail.MailMessage
MailMessage oMessage = new MailMessage();
oMessage.Priority = MailPriority.Normal;
oMessage.From = "(e-mail address removed)";
oMessage.To = (e-mail address removed);
oMessage.Subject = "Test Mail";
oMessage.Body = str.ToString();
SmtpMail.SmtpServer = "localhost"
oMessage.BodyFormat = MailFormat.Html;
SmtpMail.Send(oMessage);
The email is in HTML format. The email is being sent but it is getting
truncated. It seems like it only allows a certain fixed length through.
Does anyone have any ideas why?