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)
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:
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.