Alias Email Issue


(Harsh) #1

Hi, So the parameters for an SMTP login in the containers/app.yml file specify a username, password, and smtp server along with the relevant information required to login. I was wondering whether it would be possible to set the primary email of the service that sends out emails to one that is different from the DISCOURSE_SMTP_USER_NAME email. I currently have an organization with Google Apps that has 3 domains tied to it. While I currently only use one of the domains as my primary email address, I have the other 2 domains set up as alias’s. So I login to my gmail using username@domain1.com, but i can also send emails from that account using username@domain2.com and username3@domain3.com. Is there anyway to tell the app to differ my SMTP_USER_NAME from the email address used to send out mail?