Hi,

Have been evaluating the JETI plugin this last week, but have been unsuccessful in actual sending the email.

The following are snippets from an issue, monitored with templates / notifications set up via JETI. Also, mail listeners are as should be.

The issue has just been emailed to: *xxx@gmail.com*, \\ 
with subject: *[CREATE]* \\ 
attachment(s): \\ 
and content:\\ 
---- 
Din henvendelse er oprettet i HelpDesk og vi vender hurtigst muligt tilbage.

The issue has just been emailed to: *xxx@gmail.com*, \\ 
with subject: *UPDATE* \\ 
attachment(s): \\ 
and content:\\ 
---- 
Your request has been updated. To add additional comments, reply to this email.

Problem is, the server log shows fields are invalid, the most important one is the sender field as 'null' will get denied in MX relay.

Fail: From='null' FromName='Morten Sigsgaard Christensen (HelpDesk)'

Stack:

2013-01-18 05:58:19,300 Sending mailitem To='xxx@gmail.com' Subject='HelpDesk | (KSCZ-17) Ønsker support i *** UPDATE' From='null' FromName='Morten Sigsgaard Christensen (HelpDesk)' Cc='' Bcc='' ReplyTo='null' InReplyTo='null' MimeType='text/html' Encoding='UTF-8' Multipart='null' MessageId='null' ERROR ServiceRunner    Mail Queue Service [atlassian.mail.queue.MailQueueImpl] Error occurred in sending e-mail: To='msigsgaard81@gmail.com' Subject='HelpDesk | (KSCZ-17) Ønsker support i *** UPDATE' From='null' FromName='Morten Sigsgaard Christensen (HelpDesk)' Cc='' Bcc='' ReplyTo='null' InReplyTo='null' MimeType='text/html' Encoding='UTF-8' Multipart='null' MessageId='null'
com.atlassian.mail.MailException: javax.mail.SendFailedException: Invalid Addresses;

Where do we fill in the default sender address? The Project has a notifcation email set up.. A custom field in the issue-type is created and set as 'Sender Field' under JETI email handler, initially this is blank.. Allthough setting the field manually with a valid email addr, still results in a 'null' To header .o.O

2 answers

Hi Morten. You specified the "Sender field" in the JETI Mail Handler configuration.

This field is filled by the "Email This Issue Auto-reply Mail Handler" that you must configure for your incoming emails.

This means you must both configure the Mail Handler with the Sender field AND set up the mail handler that will save the senders address in that field.

See details in the related part of the documentation.

In our (probably) similar case the From='null' was misleading.

atlassian-jira-outgoing-mail.log snippet:

Caused by: javax.mail.SendFailedException: Invalid Addresses;
  nested exception is:
        com.sun.mail.smtp.SMTPAddressFailedException: 554 5.7.1 <test@example.com>: Relay access denied

The error message is right here, the SMTP server denied the relay. Changing the configuration of the SMTP server solved the issue.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

541 views 1 18
Join discussion

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you