I have set up JIRA to use gmail as my mail server, but the "From address" is not being respected. All of my test emails from JIRA are sent as <user>@<host>.
Here are my JIRA SMTP settings:
Update SMTP Mail Server
Use this page to update a SMTP mail server. This server will be used to send all outgoing mail from JIRA.
The name of this server within JIRA.
The default address this server will use to send emails from.
This prefix will be prepended to all outgoing email subjects.
Enter either the host name of your SMTP server or the JNDI location of a javax.mail.Session object to use.
The SMTP host name of your mail server.
Optional - SMTP port number to use. Leave blank for default (defaults: SMTP - 25, SMTPS - 465).
Timeout in milliseconds - 0 or negative values indicate infinite timeout. Leave blank for default (10000 ms).
Optional - the mail server requires the use of TLS security.
Optional - if you use authenticated SMTP to send email, enter your username.
Here are my Google Apps SMTP settings:
SMTP relay service
Allowed senders: Only addresses in my domains
Only accept mail from the specified IP addresses: Yes
Allowed IP addresses: Atlassian
Require SMTP Authentication: No
Require TLS encryption: Yes
I'm not using JIRA, but came across this post while searching for the same answer. I wanted to use django to send emails via my google apps for business smtp relay. I too had all my messages come across as being sent from the email address that was logging into the smtp relay, not the email address that I put in the from on the email.
Here's how I solved it...
1) added my firstname.lastname@example.org as an alias to the account that I was logging in to the smtp relay as. I did this in my google apps for business admin console.
2) configured "send mail as" on the real account to allow mail to be sent as noreply https://support.google.com/mail/answer/22370?hl=en
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot