
Click on "Authentication",
and you will see this:

Chilkat Mail v3.0 will support
all the settings, but for now, only Anonymous Access and Basic
Authentication (without TLS encryption) are supported. If Basic
Authentication is checked, and you forget to provide a SMTP
username and password, you will get this error:
<SendEmail>
<SMTP_Connect>
<info>Connecting to SMTP server localhost:25</info>
<smtp_host>localhost</smtp_host>
<smtp_port>25</smtp_port>
<smtp_user></smtp_user>
<login_method>LOGIN</login_method>
<expected_response>334</expected_response>
<got_response>501 5.7.3 Cannot decode arguments</got_response>
<error>Failed to get response to login name</error>
<info><![CDATA[220 CHILKAT700 Microsoft ESMTP MAIL Service, Version: 6.0.2600.1 ready at Tue, 5 Mar 2002 23:06:56 -0600
250-CHILKAT700 Hello [127.0.0.1]
250-AUTH=LOGIN
250-AUTH LOGIN
250-SIZE 2097152
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-8bitmime
250-BINARYMIME
250-CHUNKING
250-VRFY
250 OK
AUTH LOGIN
334 VXNlcm5hbWU6
501 5.7.3 Cannot decode arguments]]></info>
<info>Failed to login using LOGIN method</info>
</SMTP_Connect>
<error>Failed to connect to SMTP server.</error>
</SendEmail>
|
If you provide a password, and it is incorrect, then you will see this error:
<SendEmail>
<SMTP_Connect>
<info>Connecting to SMTP server localhost:25</info>
<smtp_host>localhost</smtp_host>
<smtp_port>25</smtp_port>
<smtp_user>asdf</smtp_user>
<login_method>LOGIN</login_method>
<expected_response>235</expected_response>
<got_response>535 5.7.3 Authentication unsuccessful</got_response>
<error>Failed to get response to login password</error>
<info><![CDATA[220 CHILKAT700 Microsoft ESMTP MAIL Service, Version: 6.0.2600.1 ready at Tue, 5 Mar 2002 23:09:18 -0600
250-CHILKAT700 Hello [127.0.0.1]
250-AUTH=LOGIN
250-AUTH LOGIN
250-SIZE 2097152
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-8bitmime
250-BINARYMIME
250-CHUNKING
250-VRFY
250 OK
AUTH LOGIN
334 VXNlcm5hbWU6
334 UGFzc3dvcmQ6
535 5.7.3 Authentication unsuccessful]]></info>
<info>Failed to login using LOGIN method</info>
</SMTP_Connect>
<error>Failed to connect to SMTP server.</error>
</SendEmail>
|
If you click on "Connection...", you will see this dialog:
If your program is trying to connect
to the SMTP server from a computer that is excluded from access,
you will get this error:
<SendEmail>
<SMTP_Connect>
<info>Connecting to SMTP server localhost:25</info>
<smtp_host>localhost</smtp_host>
<smtp_port>25</smtp_port>
<smtp_user></smtp_user>
<error>The peer has closed the socket (TCP) connection</error>
<error>Socket is no longer readable</error>
<error>Failed to get initial response</error>
</SMTP_Connect>
<error>Failed to connect to SMTP server.</error>
</SendEmail>
|
If you click on "Relay...",
you will see this dialog:
You will get the following error
if in violation of the relay restrictions you have setup, or
if the recipient's domain is not in the list of domains served
by the SMTP server:
<SendEmail>
<SMTP_Connect>
<info>Connecting to SMTP server localhost:25</info>
<smtp_host>localhost</smtp_host>
<smtp_port>25</smtp_port>
<smtp_user></smtp_user>
<login_method>NONE or already authenticated</login_method>
<info>CONNECTED to ESMTP server localhost:25</info>
</SMTP_Connect>
<subject>This is the email subject</subject>
<from>chilkat_software@yahoo.com</from>
<recipients>
<expected_response>250</expected_response>
<got_response>550 5.7.1 Unable to relay for matt@chilkatsoft.com</got_response>
<error><![CDATA[Failed when sending RCPT TO:<matt@chilkatsoft.com>]]></error>
<bad_address>matt@chilkatsoft.com</bad_address>
</recipients>
<error>Send failed.</error>
</SendEmail>
|