• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Email error

#1
Hi,
I'm having error when i send email from CI to a gmail address... the errors:


220 ************************************************************************************************************************** 
hello: 250-SRV-EXC-01.bcdenegocios.cv Hello [172.18.0.196]
250-XXXA
250-SIZE
250-ETRN
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-8bitmime
250-BINARYMIME
250-XXXXXXXB
250-VRFY
250-XXXXXXXXXXXXXXXXXC
250-AUTH GSSAPI NTLM
250-XXXXXXXXXXXD
250-XXXXXXE
250 XF

Failed to send AUTH LOGIN command. Error: 504 5.7.4 Unrecognized authentication type. 
Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method.
Reply

#2
I connect with gmail all the time.

Here is a sample of my email config file:

PHP Code:
$config['useragent'] = 'CodeIgniter';
$config['protocol'] = 'smtp';
$config['smtp_host'] = 'ssl://smtp.googlemail.com';
$config['smtp_user'] = '*****@*****.co.uk';
$config['smtp_pass'] = '************';
$config['smtp_port'] = 465
$config['smtp_timeout'] = 5;
$config['wordwrap'] = TRUE;
$config['wrapchars'] = 76;
$config['mailtype'] = 'html';
$config['charset'] = 'utf-8';
$config['validate'] = FALSE;
$config['priority'] = 3;
$config['crlf'] = "\r\n";
$config['newline'] = "\r\n";
$config['bcc_batch_mode'] = FALSE;
$config['bcc_batch_size'] = 200

Never had any problems (except gmail will not let me use an alias to an account - which was a pain when I discovered that).

Perhaps that will help,

Paul.
Reply

#3
Hi,
I'm in a internal network where we have a exchange server i'm trying use smpt... it works fine with internal address, but not other addresses
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.