It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

The notifications mails are not sent

Hello all, my problem is:

I set my SMTP server, it works when I do a test email. But when it concerns the mail templates included in JIRA, no mail is sent ... I do not find a solution to this problem. The virus was blockade when sending mail, when I disable, test mails pass, but the messages with templates to spend more ... Someone would know how to fix this?

1 answer

1 accepted

0 votes
Answer accepted

Is there any mails in the error cue? are there mails in the send cue? Do you see any error in catalina.out? Are you running windows or linux? If linux: do a:

echo "test email"| mail -s "test subject" youremail@company.com

Did you receive it?

Has anything changed since this worked, or did it never work?

We are missing a lot of information about your environment, please elaborate.

 

In "atlassian-jira-outgoing-mail" i've got this error: "Couldn't connect to host"

No errors in Catalina.out

It never worked...

I'm on Windows,

Nic Brough Community Leader Sep 12, 2016

"Couldn't connect to host" is a really simple error - your mailserver is not responding to JIRA when it tries to send mail.  Might be:

  • the network
  • the mailserver not running
  • wrong username/password
  • the mailserver not allowing the user to send mail
  • the mailserver blocking certain types of send

As you say a test worked, and the rest are failing, and then mention a "virus blockade", it suggests the last one - your mail server is configured to not send things.

But it send a test mail ... How is it that when it concerns the templates it does not work?

Nic Brough Community Leader Sep 12, 2016

You need to look at the mail server to see why it accepts the tests and drops the others.

How to do this ? I'm not sure to understand

Nic Brough Community Leader Sep 12, 2016

It depends on your mail server.

What you are describing looks like a problem with that, rather than JIRA.  If a test email goes out ok, then that proves that JIRA can send simple mails via your mail server.  As you can send test emails but not others, then there's two possibilities:

  1.  Something is going wrong with the build and send of an email in JIRA - you've looked at the logs and not seen anything, and I assume you have not been editing the email templates (although if you've broken them, you'll have errors in the logs)
  2.  Your mail server is rejecting the emails.  JIRA can't tell you what your email server is doing, you need to look at the server

 I had modified the templates, as you said it would be marked in the logs if they were no longer functional?

Nic Brough Community Leader Sep 12, 2016

Yes - when I've modified templates and got them wrong, the logs are filled with errors where I'd made mistakes.

Okay, thank you for your constructive responses Nic!

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

1,099 views 7 0
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you