unable to send mail using SMTP Mail Server

I am using suiteCRM and trying to send mails. but when i enter the correct credentials of my email and port and SMTP server details as well the CRM pops up an error as “An email error occurred:SMTP Error: Could not authenticate” even on the test mail.

How do i resolve this error, I’m stuck here and could not find any solution.
Please Help!

Thanks!

Which version are you using?

There are several places in SuiteCRM where you configure email accounts. Exactly which one are you trying?

Can you send the test email? If it fails, do you see a link to “view full STMP log”?

If you’re using a Gmail account, make sure you select “allow less secure apps” in your Google account.