Zip Component, Email Component, Encryption Component ActiveX Control for Zip Compression .NET Components for ASP.NET
ActiveX and .NET Components for Zip Compression, Encryption, Email, XML, S/MIME, HTML Email, Character Encoding, Digital Certificates, FTP, and more ASP Email ActiveX Component


Index of Chilkat Blog Posts

October 12, 2005

503 Error: authentication not enabled

Question:
I get this error when sending mail:

SendEmail:
SMTP_Connect:
Connecting to SMTP server mailgateway.****.com:25
smtp_host: mailgateway.****.com
smtp_port: 25
smtp_user: ****
trying_auth_method: LOGIN
login_method: LOGIN
503 Error: authentication not enabled
Failed to send AUTH LOGIN
220 ****.****.com ESMTP
250- ****.****.com
250-PIPELINING
250-SIZE 16384000
250-ETRN
250 8BITMIME
AUTH LOGIN
503 Error: authentication not enabled
Failed to login using LOGIN method
Failed to connect to SMTP server.

Answer:
It looks like the SMTP server does not need (nor want) authentication.
Try *not* setting the SmtpUsername and SmtpPassword properties.
Be sure to test sending email addresses external to "****.com" because
sometimes SMTP servers require authentication when sending to external addresses,
but not when sending internally.


Privacy Statement. Copyright 2000-2011 Chilkat Software, Inc. All rights reserved.
Send feedback to support@chilkatsoft.com

Components for Microsoft Windows XP, 2000, 2003 Server, Vista, Windows 7, and Windows 95/98/NT4.