Re: Intermittent failure
| Newsgroups | gmane.mail.blat |
|---|---|
| Message-ID | <A67ECBA70A254671A06530CDC41276DF@chip> |
> Hi > > Suddenly for last 2 weeks, I have started facing this problem. There is > intermittent failure of mail. As can be seen, while first session fails, > second goes through. For last six months it was running with virtually no > error. <snipped> <<<getline<<< 421 Unexpected failure, please try later *** Error *** Message not accepted by server >>>putline>>> QUIT <<<getline<<< 221 SMTP_SERVER.yourhostingaccount.com closing connection Try number 2 of 3. <<<getline<<< 220 ESMTP Mon, 04 May 2015 12:37:22 -0400: UCE strictly prohibited >>>putline>>> EHLO ATTENDANCESRV <<<getline<<< 250-bosauthsmtp07.yourhostingaccount.com Hello ATTENDANCESRV [IP Address] <<<getline<<< 250-SIZE 34603008 <<<getline<<< 250-8BITMIME <<<getline<<< 250-PIPELINING <<<getline<<< 250-AUTH PLAIN LOGIN <<<getline<<< 250-STARTTLS <<<getline<<< 250 HELP >>>putline>>> MAIL FROM:<[email protected]> <<<getline<<< 550 bosauthsmtp07: Host IP Address: No unauthenticated relaying permitted *** Error *** The SMTP server does not like the sender name. Have you set your mail address correctly? >>>putline>>> QUIT <snipped> > Kindly advise. > > Regards, > > Skand I see two issues here. The first is the server itself encountered an internal error that caused it to issue error message "421 Unexpected failure, please try later". I cannot help with that. The second issue I see is that Blat did not authenticate itself to the server after closing the first connection. I just added a few lines of code to clear Blat's internal flag so it will attempt to authenticate again when the server connection is reestablished. Chip