The SMTP server administrator needs to change the configuration
1) The WF mailer is configured using a valid email id workflow1@company1.com. Requirement is to override this FROM EMAIL value based on certain logic
2) When we set the #WFM_FROM as blank, everything works fine. We get the email with from address as workflow1@compan1.com
3) When we set the #WFM_FROM as workflow1@company1.com it again works
4) When we change the #WFM_FROM to say workflow2@company1.com it does not work, we checked the log file FNDCPGSC37976.txt in $APPLCSF/log and see that the error that is shown is - oracle.apps.fnd.wf.mailer.SMTPOutboundProcessor.send(Message)]:Problem encountered when sending to <email address> javax.mail.MessagingException: 550 5.7.1 Client does not have permissions to send as this sender