Archived Forum Post

Index of archived forum posts

Question:

SmtpUsername overrides FromAddress and Sender

Sep 05 '14 at 15:05

The application uses ActiveX control ChilkatAx-9.5.0-win32.dll (version 9.5.0.43) to send emails through smtp.gmail.com. The SmtpUsername and SmtpPassword must be set to login to smtp.gmail.com

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.


Answer

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


Answer

Nice answer. Much appreciated!!!