- Posts: 8
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
SMTP GMAIL
- amolinue
- Topic Author
- Offline
- New Member
Less
More
7 years 4 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: xxxxx@gmail.com
SMTP password: xxxxxxx
SMTP encryption: SSL
But i still cant send mails.
Anyone knows how to configure gmail as email sender?
Thanks in advance
Have anyone configured gmail as email server?
I have tried the next configuration:
Email method: SMTP
SMTP host: smtp.gmail.com:465
SMTP username: xxxxx@gmail.com
SMTP password: xxxxxxx
SMTP encryption: SSL
But i still cant send mails.
Anyone knows how to configure gmail as email sender?
Thanks in advance
The topic has been locked.
- tomhklab
- Offline
- New Member
Less
More
- Posts: 11
- Thank you received: 1
7 years 4 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: tomhklab@gmail.com
SMTP encryption: TLS
Then I went to here: www.google.com/settings/security/lesssecureapps and changed the settng to ON.
Here are my settings
email method: SMTP
SMTP host: smtp.gmail.com:587
smtp username: tomhklab@gmail.com
SMTP encryption: TLS
Then I went to here: www.google.com/settings/security/lesssecureapps and changed the settng to ON.
The topic has been locked.
- amolinue
- Topic Author
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
7 years 4 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?
The topic has been locked.
- tomhklab
- Offline
- New Member
Less
More
- Posts: 11
- Thank you received: 1
7 years 3 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
The topic has been locked.
- hpantoine12
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
6 years 10 months ago - 6 years 10 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: xxxxx@gmail.com
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/TroubleshootingInformation de débogage SMTP :
<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
Can you help me please ?
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: xxxxx@gmail.com
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
<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
Can you help me please ?
Last edit: 6 years 10 months ago by hpantoine12.
The topic has been locked.
- hmd_bakhshi
- Offline
- Junior Member
Less
More
- Posts: 36
- Thank you received: 0
5 years 3 months 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!
The topic has been locked.
- Engineerumair
- Offline
- Junior Member
Less
More
- Posts: 35
- Thank you received: 0
4 years 11 months 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?
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?
The topic has been locked.
- bkomanet
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
4 years 6 months 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: yourID@gmail.com
SMTP encryption: TLS
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: yourID@gmail.com
SMTP encryption: TLS
The topic has been locked.