SMTP GMAIL

More
2 years 10 months ago #143901 by amolinue
SMTP GMAIL was created by amolinue
Hi all!

Have anyone configured gmail as email server?
I have tried the next configuration:

Email method: SMTP
SMTP host: smtp.gmail.com:465
SMTP username: This email address is being protected from spambots. You need JavaScript enabled to view it.
SMTP password: xxxxxxx
SMTP encryption: SSL

But i still cant send mails.
Anyone knows how to configure gmail as email sender?

Thanks in advance

Please Log in or Create an account to join the conversation.

LimeSurvey Partners
More
2 years 10 months ago #143933 by tomhklab
Replied by tomhklab on topic SMTP GMAIL
I was having similar issues with email settings. I just figured out what my problem was.
Here are my settings
email method: SMTP
SMTP host: smtp.gmail.com:587
smtp username: This email address is being protected from spambots. You need JavaScript enabled to view it.
SMTP encryption: TLS

Then I went to here: https://www.google.com/settings/security/lesssecureapps and changed the settng to ON.

Please Log in or Create an account to join the conversation.

More
2 years 10 months ago #143953 by amolinue
Replied by amolinue on topic SMTP GMAIL
Thanks for the reply, but i still getting the same advice "mail could not be sent". How i can debug or get the exact error of what is happening?

Please Log in or Create an account to join the conversation.

More
2 years 9 months ago #144902 by tomhklab
Replied by tomhklab on topic SMTP GMAIL
I don't know if this help, but after I set change the security setting on my Google Account, I got a security notification asking whether my limesurvey website is a safe source. I select yes, then try to create another user in limesurvey and it worked.
The following user(s) said Thank You: bkomanet

Please Log in or Create an account to join the conversation.

More
2 years 4 months ago - 2 years 4 months ago #153032 by hpantoine12
Replied by hpantoine12 on topic SMTP GMAIL
hello,

I have installed limesurvey in local WAMP

Can you tell me what you have changed in your mailbox? I have same problem :

My config :

Email method: SMTP
SMTP host: smtp.gmail.com:587
SMTP username: This email address is being protected from spambots. You need JavaScript enabled to view it.
SMTP password: xxxxxxx
SMTP encryption: TLS

I have this message :

(but it's in French)

L'envoi du courriel à ***** (****@****.com) a échoué. Message d'erreur : Échec de la connexion SMTP.

github.com/PHPMailer/PHPMailer/wiki/Troubleshooting <li>Information de débogage SMTP :</li>

<pre>2017-04-21 14:22:44 SMTP ERROR: Failed to connect to server: (0) 2017-04-21 14:22:44 Échec de la connexion

SMTP. github.com/PHPMailer/PHPMailer/wiki/Troubleshooting </pre>


Can you help me please ?
Last edit: 2 years 4 months ago by hpantoine12.

Please Log in or Create an account to join the conversation.

More
9 months 1 day ago #178534 by hmd_bakhshi
Replied by hmd_bakhshi on topic SMTP GMAIL
I have similar problem. I set smtp gmail config but still cannot sent emails!

Please Log in or Create an account to join the conversation.

More
5 months 2 weeks ago #182660 by Engineerumair
Replied by Engineerumair on topic SMTP GMAIL
Hello Amolinue,
I am having the same problem, I used TLS rather than SSL and port 587, but still getting error.

Could you please let me know how did you solve the issue?

Please Log in or Create an account to join the conversation.

More
1 day 11 hours ago #188923 by bkomanet
Replied by bkomanet on topic SMTP GMAIL
That is exactly what the problem was.
1) Go to your google account (web browser)
2) Click Security
3) Scroll down to Less Secure App Access
4) Click on Turn On
5) Click the switch to turn it on

You will get an email notification of this change. As long as your settings are like below, this worked for me.

I also turned on SMTP Debug Mode: On errors in my Lime Survey global email settings, so that told me if I had a userid/password problem or if it was an SMTP connection problem. When I saw it was the later, I found your solution. Thanks!

email method: SMTP
SMTP host: smtp.gmail.com:587
smtp username: This email address is being protected from spambots. You need JavaScript enabled to view it.
SMTP encryption: TLS

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!