devaslanphp / project-management

An open source Project management tool based on Laravel and Filament
https://devaslanphp.github.io/project-management
MIT License
682 stars 188 forks source link

Send email notification #117

Closed Gigimurgia closed 2 months ago

Gigimurgia commented 3 months ago

Hi, I can't configure sending notifications via email

the system does not send any emails even if I have set my provider correctly

can you help me?

mihaisolomon commented 3 months ago

Can you show what is the configuration for that provider?

Gigimurgia commented 3 months ago

Yes I'm using a Google SMTPS

my env:

MAIL_MAILER=smtp MAIL_HOST=smtps.aruba.it MAIL_PORT=587 MAIL_USERNAME=servizio@xxxxxxxx.it MAIL_PASSWORD=xxxxxxxxxxxx MAIL_ENCRYPTION=ssl

mihaisolomon commented 2 months ago

Can you check the queue? In some cases all the emails that needs to be sent are put in the queue.

Gigimurgia commented 2 months ago

the queue shows me some running and Done activities on the notification part but I don't know if they also concern emails or just the notification filament

Screenshot 2024-05-31 alle 10 54 10

mihaisolomon commented 2 months ago

Check if you are one of the watchers of that ticket. In order to get the status update.

Gigimurgia commented 2 months ago

I saw and received two emails to change the status of the ticket However, they don't arrive due to ticket modification, ticket manager appointment, new ticket creation, new user addition... maybe I'm doing something wrong in the helper configuration

mihaisolomon commented 2 months ago

Here is the list of all notifications on project: image

Also you can look on the Ticket model on boot method. There you can see all the events that are generatiing.

Gigimurgia commented 2 months ago

ticketComment had the commented notification function... I was stupid not to check it, thanks for the help now the emails are sent
Thank you