Assignment notification emails doesn't working

Hi,

SuiteCRM version : 7.10.10 & 7.10.11
OS : Ubuntu

I have checked each and everything and each inbound and outbound email is working very well except new record assignment. When I assign a new record to the user I get following error in the log.

Fri Dec 28 15:07:25 2018 [32584][d4bfe5de-fa0e-b39e-b0bf-5b7d451e38fa][FATAL] SugarPHPMailer encountered an error: SMTP Error: data not accepted.
Fri Dec 28 15:07:25 2018 [32584][d4bfe5de-fa0e-b39e-b0bf-5b7d451e38fa][FATAL] SugarPHPMailer encountered an error: SMTP Error: data not accepted.
Fri Dec 28 15:07:25 2018 [32584][d4bfe5de-fa0e-b39e-b0bf-5b7d451e38fa][FATAL] Notifications: error sending e-mail (method: smtp), (error: SMTP Error: data not accepted.SMTP server error: DATA END command failed Detail: Relaying disallowed as name@domain.com  SMTP code: 553)

Can I have your suggestions, please?

Thanks in advance.

check if this is not your problem http://support.sugarcrm.com/Knowledge_Base/Email/Configuring_Send_As_Permissions/

best regards

Thanks for your message.

Actually, I’m using Zoho mail. I’m not using Google/Exchange/Office365.

Thanks

Hi,
Saying “Data not accepted” indicating something is wrong with “From” or “Reply To” Address.

In my opinion , From , Reply must be same as original sender.

I agree with Ashish’s suggetion, that is probably it.

you can easily debug this by un-commenting this line here:

https://github.com/salesagility/SuiteCRM/blob/master/include/SugarPHPMailer.php#L457

Check that “From” and “From name” match what your account actually is, and if necessary do some manual overrides to test with different values.

If you need a full SMTP log, temporarily un-comnment this block also:

https://github.com/salesagility/SuiteCRM/blob/master/include/SugarPHPMailer.php#L495-L502

Thanks for your answers.

I have tried after un-commenting above blocks but no any change in error log.

Mon Mar 11 19:20:40 2019 [16855][1][FATAL] SugarPHPMailer encountered an error: SMTP Error: data not accepted.

I have also verified that test emails are working well but workflow emails are not working.

Is there any other solution?

Thanks

You probably need to increase log level to DEBUG.

But another way to do it, which is actually better because you don’t get as much spam in your logs, is this: in those lines you uncommented, instead of

$GLOBALS['log']->debug(etc.

change it to

$GLOBALS['log']->fatal(etc.

Now try the workflow again and check if your From and From Name seem to be properly set.

If you can upgrade to the latest SuiteCRM version in your branch, that would be nice too, since this bug might already be solved.