In the application we set the From email address and friendly name FromName is used to set the Friendly Name FromAddress and Sender are used to set the from email address.
The Friendly Name setting works. The FromAddress does not. When the email is received it shows the correct friendly name but instead of the FromAddress its shows the SmtpUsername as the from email address.
GMail itself is causing it. GMail does not allow for the FromAddress (i.e. the address in the From header field within the MIME) to be different than the GMail account owner's name. No spoofing is allowed with GMail (even if it's innocent/harmless name-changing).
Nice answer. Much appreciated!!!