Smtp codeigniter gmail error

I am sorry that I keep coming back with this problem. I have checked my account and its fine (signed with no interception) and so far nothing. This still gives me this back:

220 mx.google.com ESMTP d13sm702743fka.52

hi: 250-mx.google.com at your service, [82.128.53.160] 250-SIZE 35651584 250-8BITMIME 250-AUTH LOGIN PLAIN 250-ENHANCEDSTATUSCODES 250 PIPES Unable to authenticate password. Error: 454 4.7.0 Unable to authenticate due to a temporary system problem. Try later. d13sm702743fka.52

from: 530-5.5.1 Authentication required. Learn more at 530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 d13sm702743fka.52 The following SMTP error occurred: 530-5.5.1 Authentication required.

I saw a post somewhere in my googling that php mail () doesn't do smtp with google mail well, is that true? if so i looked at the wiki on phpmailer and swiftmailer and the entry is scarce, so any ideas on what to do? possibly with links or tips .... NOTHING PLEASE !!!

+2


source to share


3 answers


You need SMTP authentication with TLS, here is a forum post describing how to do this in CI.



+2


source


after a lot of checking, it seems that the codeigniter email class is ify with gmails smtp. so I looked for other alternatives and found phpmailer and I have a post working with my application. Anyone looking to use mail in codeigniter app should consider using the phpmailer plugin. Much easier than email.



0


source


I had the same problem, I solved it by enabling pop in gmail.

In Gmail: setting -> pop / imap -> enable pop

And then "Allow less secure applications to access your account." When I allow everyone to start working.

Here is the link where I found the information: Google Support

0


source







All Articles