I am struggling with sending emails with Gmail SMTP on a localhost (having windows 8 OS).
This is what I done, "Settings > System "No reply address, Error notification email, Send email notification email: All set to my Gmail email in all 3 fields.
"Settings > System > E-mails" Default SMTP server settings: SMTP server: smtp.gmail.com:465 SMTP user name: firstname.lastname@example.org . SMTP Server password: My Gmail email password. Use SSL: True
Now gone to Email Queue > Send Email, and do a Test-sending of an email. BUT, it never leaves the E-mail queue. Some time got status keeps being "Sending", and some time got status waiting, but no email is send.
After very long time of sending, status converted into "failed" with showing following error:
Error message: Syntax error, command unrecognized. The server response was:
Please help me to fix this and let me know where I did wrong.
Thanks in advance.
I thought Google SMTP was only enabled for "business" accounts and not personal? Do you have another option for SMTP? I guess I've always used my regular hosting SMTP setup. As the previous answer suggests, if you don't know what 2 factor authentication is with Google, its probably not enabled.
1. Try using a different TO email address
2. Does your gmail account have 2 factor authentication enabled? If so, this won't work with that account.
First of all thanks for your quick reply.
I tried with different "To" Gmail email addresses also, but getting same result. :(
Can you please elaborate, what is meaning of "2 factor authentication enable" here?
Google 2 factor authentication would be on your google account itself, nothing to do with Kentico. If you don't know what it is, it's most likely not enabled.
Thanks for your guidance Brenden,
Yes I think Google SMTP doesn't work with personal account, I have configured with different live SMTP server and its worked for me, :)
Thanks for your support.
Please, sign in to be able to submit a new answer.