cachet icon indicating copy to clipboard operation
cachet copied to clipboard

subscribers receive subscription confirmation email but no followup email when component status changes

Open fdhex opened this issue 10 years ago • 13 comments

Your setup

  • What version of Cachet? 2.3
  • What database driver? MySQL? Postgres? SQLite? MySQL
  • What version of PHP? 7

Expected behaviour

In sync mode, I receive an email when I subscribe to notifications on the dashboard to complete my verification. I see a 'Verified' when clicking on the link, so I assume emailing is working as expected.

Later, I try to update the status of a component (from operational to major outage), I expect an email telling me that something is wrong.

Actual behaviour

I receive no email.

Emails need to be sent from a specific sender so that my smtp server accepts them, this works well for the verification system, but maybe not from the notification system? Could this be checked?

I am not sure if there are any logs of failed emails or anything where I should look. Could you please help me understand what can be happening there?

fdhex avatar Jun 28 '16 12:06 fdhex

Ah, it seems to work for Incidents, so I guess my problem is that there seems to be no possibility to send emails on component status updates rather than only on specified incidents. Is there an option to activate that maybe?

fdhex avatar Jun 28 '16 12:06 fdhex

Please provide the full version information. Say, Cachet 2.3.1, PHP 7.0.8?

GrahamCampbell avatar Jun 28 '16 13:06 GrahamCampbell

It's 2.3.0-dev (sorry, messed up the versions) and PHP 7.0.3, but please see my second message, I guess it's expected behaviour as it is now in fact?

fdhex avatar Jun 28 '16 13:06 fdhex

Is this working on Cachet 2.3.1 with PHP 7.0.8 please?

GrahamCampbell avatar Jun 28 '16 14:06 GrahamCampbell

I'll do a merge and retry. Is the behaviour I described above intended or not? If yes, then there's no bug to correct.

fdhex avatar Jun 28 '16 14:06 fdhex

Same result in 2.3.1.

fdhex avatar Jun 28 '16 15:06 fdhex

+1

What is the behaviour for mailing subscribers? Do they get notified on both component status/incident corresponding to the components they are subscribed to or only for incidents? Nothing regarding this is mentioned in the docs.

And the subscribers only get notified when an incident is created, but not when it is fixed. Is there a way to notify subscribers in both cases?

Srthk avatar Jun 29 '16 19:06 Srthk

Ping @joecohens

jbrooksuk avatar Jul 04 '16 14:07 jbrooksuk

@joecohens shouldn't we be emailing on any change to a Component? I can't see anything that prevents a change just to the status from emailing subscribers?

jbrooksuk avatar Jul 08 '16 16:07 jbrooksuk

Wait! Are you changing the Components status from the dashboard index:

image

If so, this is the issue.

jbrooksuk avatar Jul 08 '16 16:07 jbrooksuk

(Which is a bug).

jbrooksuk avatar Jul 08 '16 16:07 jbrooksuk

I remember I tried on the dashboard, haven't tried with API with subscribers active iirc. I can check later. I would have thought that the dashboard was using the same backend components actually!

fdhex avatar Jul 08 '16 16:07 fdhex

This bug will be fixed in the v2.3.3 release, which should land over the weekend (if not beforehand).

jbrooksuk avatar Jul 08 '16 16:07 jbrooksuk