User xxxx attempted to send an email using incorrect email account settings in which they do not have access to

I have spent more than 3 hours just to resolve this issue.

I found this too: https://suitecrm.com/forum/suitecrm-7-0-discussion/16507-mail-stopped-working-error-smtp-connect-failed#55682

but from where exactly how do I check this box? I could not find the location. I am getting this


Mon Mar 18 04:35:56 2019 [537329][1][FATAL] SugarPHPMailer encountered an error: SMTP Error: The following recipients failed: xxxx@gmail.com: "Your IP: 198.54.114.38 : Your domain gmail.com is not allowed in header
From"
Mon Mar 18 04:37:31 2019 [545839][1][FATAL] SugarPHPMailer encountered an error: SMTP Error: The following recipients failed: xxxx@gmail.com: "Your IP: 198.54.114.38 : Your domain gmail.com is not allowed in header
From"
Mon Mar 18 04:37:31 2019 [545839][1][FATAL] SugarPHPMailer encountered an error: SMTP Error: The following recipients failed: xxxx@gmail.com: "Your IP: 198.54.114.38 : Your domain gmail.com is not allowed in header
From"
Mon Mar 18 04:41:22 2019 [574137][1][SECURITY] Email Error: Not authorized to use Outbound Account "system"
Mon Mar 18 04:41:22 2019 [574137][1][SECURITY] User Mubashar Ali attempted to send an email using incorrect email account settings in which they do not have access to.
Mon Mar 18 07:54:29 2019 [780220][1][SECURITY] Email Error: Not authorized to use Outbound Account "system"
Mon Mar 18 07:54:29 2019 [780220][1][SECURITY] User Mubashar Ali attempted to send an email using incorrect email account settings in which they do not have access to.
Mon Mar 18 08:03:11 2019 [856375][1][FATAL] SugarBean::populateDefaultValues $field_defs should be an array

Hi, welcome.

sorry to hear you’re running into problems.

Which version of SuiteCRM are you running?

What I exactly is question about that debug procedure? I need to get a sense of how technical you are, can you edit that PHP code?

v7.13 & PHP 7.4

We are getting below error in crm log file:

[FATAL] SugarPHPMailer encountered an error: SMTP Error: The following recipients failed: USER@xyz.com: SMTP; Unable to relay recipient in non-accepted domain

Is it due to our crm only allow particular email domains?
For example, we could send email to USER@outlook.com but not USER@yahoo.com.

I am guessing, it is because STMP authentication is not properly set up under Email Settings.

I would like to get some directions on it.

Thanks in an advance!