Cannot integrate with gmail for sending emails
6 October, 2015
I am trying to connect to GMAIL SMTP server with no success.
I am getting this error :
Connection Failed
SMTP Authentication failed
javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at
535 5.7.8 https://support.google.com/mail/answer/14257 h6sm19744247wiy.14 - gsmtp
I check 5 times my user and my password - its good,
even when trying to change to none security - nothing works...
any idea ?
Thank you, Roy.
I am getting this error :
Connection Failed
SMTP Authentication failed
javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at
535 5.7.8 https://support.google.com/mail/answer/14257 h6sm19744247wiy.14 - gsmtp
I check 5 times my user and my password - its good,
even when trying to change to none security - nothing works...

any idea ?
Thank you, Roy.
Hi Roy,
Thanks for the question. I just tested sending from my Gmail account and I can confirm that it does work. My settings matched yours.
Can you confirm that your Google account has 'Allow Less Secure Apps:' switched to 'ON' as outlined in the below article?:
Allowing Less Secure Apps Access to Your Account
You could also try navigating directly to the setting (provided you are signed into your account) using this URL:
https://www.google.com/settings/security/lesssecureapps
If this doesn't work for you, could you double check the credentials you've entered in Yellowfin? The following article covers the password incorrect error:
Password Incorrect Error
Hopefully this information is helpful. Let us know how it goes. We look forward to hearing more.
Kind Regards,
Dustin
Thanks for the question. I just tested sending from my Gmail account and I can confirm that it does work. My settings matched yours.
Can you confirm that your Google account has 'Allow Less Secure Apps:' switched to 'ON' as outlined in the below article?:
Allowing Less Secure Apps Access to Your Account
You could also try navigating directly to the setting (provided you are signed into your account) using this URL:
https://www.google.com/settings/security/lesssecureapps
If this doesn't work for you, could you double check the credentials you've entered in Yellowfin? The following article covers the password incorrect error:
Password Incorrect Error
Hopefully this information is helpful. Let us know how it goes. We look forward to hearing more.
Kind Regards,
Dustin
Hey Dustin,
Nothing help, I enabled the "less secure" and tried it again with no success...
any more ideas ?
Thank you,
Roy
Nothing help, I enabled the "less secure" and tried it again with no success...
any more ideas ?
Thank you,
Roy