Welcome Guest, Not a member yet? Register   Sign In
Mails by gmail SMTP - works in 1.5.4 stop works in 1.6.1
#1

[eluser]Unknown[/eluser]
I configure gmail SMTP in 1.5.4 and success full send e-mail by this SMTP.

Two strange things:

Code:
$config['protocol'] = 'smtp';
$config['smtp_host'] = 'smtp.gmail.com';
$config['smtp_user'] = '[email protected]'
$config['smtp_pass'] = 'my_password'
$config['smtp_port'] = 25;
$config['mail_type'] = 'text';
$config['charset'] = 'utf-8';
$conifg['newline'] = "\r\n";

I don't have ; after user, and pass and in 1.5.4 works fine - in 1.6.1 I get error.

And after upgrade to 1.6.1 - stop works and send error:

Quote:220 mx.google.com ESMTP j10sm20417547mue.14

hello: 250-mx.google.com at your service, [62.21.98.38]
250-SIZE 28311552
250-8BITMIME
250-STARTTLS
250 ENHANCEDSTATUSCODES

Failed to send AUTH LOGIN command. Error: 530 5.7.0 Must issue a STARTTLS command first j10sm20417547mue.14

from: 530 5.7.0 Must issue a STARTTLS command first j10sm20417547mue.14

The following SMTP error was encountered: 530 5.7.0 Must issue a STARTTLS command first j10sm20417547mue.14

to: 530 5.7.0 Must issue a STARTTLS command first j10sm20417547mue.14

The following SMTP error was encountered: 530 5.7.0 Must issue a STARTTLS command first j10sm20417547mue.14

data: 530 5.7.0 Must issue a STARTTLS command first j10sm20417547mue.14

The following SMTP error was encountered: 530 5.7.0 Must issue a STARTTLS command first j10sm20417547mue.14
502 5.5.1 Unrecognized command j10sm20417547mue.14
The following SMTP error was encountered: 502 5.5.1 Unrecognized command j10sm20417547mue.14
Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method.




Theme © iAndrew 2016 - Forum software by © MyBB