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

November 16, 2007

550 5.7.1 Unable to relay

When sending email (SMTP), if you see this error it means that you need to provide SMTP authentication in order to send email outside your domain.

Make sure you’ve set both the mailman.SmtpUsername and SmtpPassword properties.

      550 5.7.1 Unable to relay for somebody123@gmx.at
      Failed when sending RCPT TO:<somebody123 @gmx.at>
      bad_address: somebody123@gmx.at
</somebody123>

Question:
Does that mean that even if I use Windows Integrated Security I always have to provide a username and password as soon as I want to send a mail outside my domain?

Answer:
Set both the SmtpUsername and SmtpPassword properties to "default", and Chilkat will use the current logged-on credentials (assuming your SMTP server supports NTLM authentication).


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.