Do SMTP servers require that the sender in an email be the authenticated account? Or is this something that can be configured on the server?
To test out my application, I've set up a Gmail account to use Gmail's SMTP servers, which require me to authenticate with the Gmail account before sending email. Gmail's SMTP requires that the sender in the generated email always be the authenticated Gmail account. However, in a production environment, this application will likely deployed on a corporate network.