NotiZ icon indicating copy to clipboard operation
NotiZ copied to clipboard

Email Channel issue

Open mitrovicsinisaa opened this issue 5 years ago • 2 comments

Hello,

We have TYPO3 v8 (8.7.31) and Notiz v2.1.2. When I add new notification and set email as channel, emails are not sent. TYPO3 email configuration is working correctly via SMTP.

After some debugging I found out that emails are sent correctly if I comment out line 136 in file notiz/Classes/Domain/Channel/Email/TYPO3/EmailChannel.php: $this->dispatchEmailSignal($mailMessage);

This call only do simple dispatch, but somehow mess up message sending.

I was not able to find out why this happens...

Best regards, Sinisa Mitrovic

mitrovicsinisaa avatar Aug 30 '20 15:08 mitrovicsinisaa

Hello @mitrovicsinisaa,

Thanks for the report. We just tried on our system and the notification is dispatched correctly.

From what you said, it seems that the dispatch of the signal somehow messes up the execution. Do you have any log that would indicate if an error occurs at this moment?

Can you check if you listen to this signal, as explained in the documentation?

Also, can you tell us what event are you listening to? Is it a provided one or a custom one?

Thank you.

romm avatar Sep 07 '20 11:09 romm

Hello @romm,

We use custom Signal from custom extension. I have checked all possible logs, do a profiling, and no error was shown.

I will try to check with recommended documentation link where we are, and let you know if I found something.

Best regards, Sinisa

mitrovicsinisaa avatar Sep 07 '20 13:09 mitrovicsinisaa