Here's a log of a successful mail sent via smtp.mail.yahoo.com (the asdf is where I removed their hashes) :
READ> 220 smtp104.mail.sc5.yahoo.com ESMTP SENT> EHLO rockinron READ> 250-smtp104.mail.sc5.yahoo.com 250-AUTH LOGIN PLAIN XYMCOOKIE 250-PIPELINING 250 8BITMIME SENT> AUTH login READ> 334 asdfasdfasdf SENT> asdfasdfasdfasdfasdfasdf READ> 334 asdfasdfasdf SENT> asdfasdfasdf READ> 235 ok, go ahead (#2.0.0)
Here's a log showing a failed attempt to send an email from a GoDaddy.com hosted account:
READ> 220 pre-smtp08-01.prod.mesa1.secureserver.net ESMTP SENT> EHLO WINHOST37 READ> 250-pre-smtp08-01.prod.mesa1.secureserver.net 250-PIPELINING 250-SIZE 31457280 250 8BITMIME
I'm not able to send mail through a GoDaddy.com website using System.Web.Mail either.
Is this a DotNetOpenMail issue or a GoDaddy issue? Should DotNetOpenEmail be able to understand those 250 codes?
Thanks, Ron
The exception message is:
504 Unrecognized authentication type
It looks like the server's response doesn't include any information on what AUTH protocols it supports. I should probably set the default to be LOGIN.
Do you know if GoDaddy's servers use LOGIN authentication?
When I unset the SmtpAuthToken:
/* smtpServer.SmtpAuthToken = new SmtpAuthToken( ConfigurationSettings.AppSettings["SmtpLogin"], ConfigurationSettings.AppSettings["SmtpPassword"]); */
The mail sent ok.
The problem was that I was sending a username/password when the mail server wasn't requiring one. I suppose that's my own fault...
Log in to post a comment.
Here's a log of a successful mail sent via smtp.mail.yahoo.com (the asdf is where I removed their hashes) :
READ> 220 smtp104.mail.sc5.yahoo.com ESMTP
SENT> EHLO rockinron
READ> 250-smtp104.mail.sc5.yahoo.com
250-AUTH LOGIN PLAIN XYMCOOKIE
250-PIPELINING
250 8BITMIME
SENT> AUTH login
READ> 334 asdfasdfasdf
SENT> asdfasdfasdfasdfasdfasdf
READ> 334 asdfasdfasdf
SENT> asdfasdfasdf
READ> 235 ok, go ahead (#2.0.0)
Here's a log showing a failed attempt to send an email from a GoDaddy.com hosted account:
READ> 220 pre-smtp08-01.prod.mesa1.secureserver.net ESMTP
SENT> EHLO WINHOST37
READ> 250-pre-smtp08-01.prod.mesa1.secureserver.net
250-PIPELINING
250-SIZE 31457280
250 8BITMIME
I'm not able to send mail through a GoDaddy.com website using System.Web.Mail either.
Is this a DotNetOpenMail issue or a GoDaddy issue? Should DotNetOpenEmail be able to understand those 250 codes?
Thanks,
Ron
The exception message is:
504 Unrecognized authentication type
It looks like the server's response doesn't include any information on what AUTH protocols it supports. I should probably set the default to be LOGIN.
Do you know if GoDaddy's servers use LOGIN authentication?
When I unset the SmtpAuthToken:
/*
smtpServer.SmtpAuthToken = new SmtpAuthToken(
ConfigurationSettings.AppSettings["SmtpLogin"],
ConfigurationSettings.AppSettings["SmtpPassword"]);
*/
The mail sent ok.
The problem was that I was sending a username/password when the mail server wasn't requiring one. I suppose that's my own fault...