C
chumley
I have hosting on Godaddy, I am using sendmail component in my script,
I am getting this error message:
The message could not be sent to the SMTP server. The transport error
code was 0x800ccc6a. The server response was 451 See
http://pobox.com/~djb/docs/smtplf.html
at the SmtpMail.Send(Mail); line:
Mail.Body = "Company: " + Request.Form["company"] + "\nFirst Name: "
+ Request.Form["firstname"] + "\nLast Name: " +
Request.Form["surname"]
+ "\nCategory: " + Request.Form["category"] + "\n SubCategory: "
+ Request.Form["subcategory"] + " \nZone: " +
Request.Form["zone"]
+ "\nAddress: " + Request.Form["address"] + "\n City: " +
Request.Form["city"];
SmtpMail.SmtpServer = SERVER;
SmtpMail.Send(Mail);
I look on this site to see if there was a solution, nothing really,
but i have hunch the Mail.Body string is too long, still get the error
if i concatenate it with Mail.Body +=
??
chumley
I am getting this error message:
The message could not be sent to the SMTP server. The transport error
code was 0x800ccc6a. The server response was 451 See
http://pobox.com/~djb/docs/smtplf.html
at the SmtpMail.Send(Mail); line:
Mail.Body = "Company: " + Request.Form["company"] + "\nFirst Name: "
+ Request.Form["firstname"] + "\nLast Name: " +
Request.Form["surname"]
+ "\nCategory: " + Request.Form["category"] + "\n SubCategory: "
+ Request.Form["subcategory"] + " \nZone: " +
Request.Form["zone"]
+ "\nAddress: " + Request.Form["address"] + "\n City: " +
Request.Form["city"];
SmtpMail.SmtpServer = SERVER;
SmtpMail.Send(Mail);
I look on this site to see if there was a solution, nothing really,
but i have hunch the Mail.Body string is too long, still get the error
if i concatenate it with Mail.Body +=
??
chumley