Menu

Authentication failure (with log)

Ron
2005-10-03
2013-04-02
  • Ron

    Ron - 2005-10-03

    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

     
    • Ron

      Ron - 2005-10-03

      The exception message is:

      504 Unrecognized authentication type

       
    • Mike Bridge

      Mike Bridge - 2005-10-07

      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?

       
    • Ron

      Ron - 2005-10-10

      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.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.