Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to send email in Joomla using Gmail SMTP settings. Getting SMTP server error: 5.5.1 Authentication Required. How to fix this?

Tags:

smtp

gmail

MY joomla contact form gmail SMTP settings not working..see below that message showing when submitting contact form. What should be the reason? extension=php_openssl.dll also enabled..

Error message -:
SMTP server error: 5.5.1 Authentication Required. Learn more at 530 5.5.1 http://support.google.com/mail/bin/answ ... swer=14257 c6sm7639242obl.22

I used these settings in joomla mail settings

Mailer: smtp
SMTP Authentication: yes
SMTP Security: SSL
SMTP Port: 465
SMTP Username: My gmail full address
SMTP Password: My gmail password
SMTP Host: smtp.gmail.com

like image 473
Dileep Avatar asked Dec 05 '25 03:12

Dileep


1 Answers

You'll need to enable 2FA in google and use the following settings.

You will need to generate an application specific password after configuring 2 factor authentication and use as password in the SMTP configuration

MAIL_DRIVER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
MAIL_USERNAME=<<your email address>>
MAIL_PASSWORD=<<app password>>
MAIL_ENCRYPTION=tls
like image 76
Nava Bogatee Avatar answered Dec 07 '25 12:12

Nava Bogatee



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!