Welcome Guest, Not a member yet? Register   Sign In
[Email Library] - Failed to send AUTH LOGIN command - Encryption Needed
#1
Bug 

Hi.

Today i go some problem with the email library where the server does not support  SMTP plain text auth.

PHP Code:
   $config['useragent'   "CodeIgniter";
 
   $config['mailpath'    "/usr/bin/sendmail"// or "/usr/sbin/sendmail"
 
   $config['wordwrap'    TRUE;
 
   $config['mailtype'    'html';
 
   $config['charset'     strtoupper(get_option('smtp_email_charset'));
 
   $config['newline'     "\r\n";
 
   $config['crlf'        "\r\n";
 
   $config['protocol'    'smtp';
 
   $config['smtp_host'   'ssl://domain.com'
 
   $config['smtp_port'   465;
 
   $config['smtp_timeout'] = '30';
 
   $config['smtp_user'   '[email protected]';
 
   $config['smtp_pass'   'passwordgoeshere'

This is the current configuration.
When echo the email print debugger the following error occurs:
Failed to send AUTH LOGIN command.Error 535 5.7.8 Error: Authentication failed:encryption needed to use mechanism.

I was able to see in the email library Codeigniter use AUTH LOGIN with unencrypted BASE64 encoding.
To support full web standards, Codeigniter should be able to use CRAM-MD5 or DIGEST-MD5 for SMTP authentication.

Any suggestions how this problem could be solved or possible Codeigniter bug?

Thanks.
Reply


Messages In This Thread
[Email Library] - Failed to send AUTH LOGIN command - Encryption Needed - by mstojanov - 04-13-2016, 05:49 AM



Theme © iAndrew 2016 - Forum software by © MyBB