Sendmail brings up funky error message

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
 
F

Family Tree Mike

Ouch! What did their technical support people tell you when you
contacted them...?

IMO, you'd do well to ditch them ASAP. I don't know anyone who has a
good word to say about them...

Well, their adds on TV are inspiring...
 
A

Andrew Poelstra

Ouch! What did their technical support people tell you when you contacted
them...?

IMO, you'd do well to ditch them ASAP. I don't know anyone who has a good
word to say about them...

They will give you a SSL cert for cheap. (For how long web browsers
will accept their certificates is open to speculation.)
 
S

sloan

You can check this example I wrote:
http://sholliday.spaces.live.com/blog/cns!A68482B9628A842A!138.entry

Which deals with no,basic, and ssl authentication sending emails.

Push comes to shove, you can setup a gmail account, and use it (my code has
the exact setting for gmail).

Maybe you'll get lucky and find a clue at the blog.

What is your framework?

I remember an old old issue where:

SmtpMail.SmtpServer = SERVER;

wasn't as favorable as

SmtpMail.SmtpServer.Add(SERVER);
or something like that ........
The point being.....instead of setting the property to a value, you use the
..Add method instead.
Snow ball's chance in Hades, but thought I'd mention it.

Good luck.
 

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

Similar Threads


Top