How to Configure Monolog to Email Errors With symfony/mailer

Ask a question+

In my Symfony 4.3 project, I use symfony/mailer with symfony/mailgun-mailer to send emails via mailgun. I want to receive emails about errors, so I use monolog, but in monolog documentation I can’t find how to send emails via symfony/mailer. Can anyone help me to configure monolog to receive emails about errors via mailgun and if it is possible to add specific tags to those emails.

add comment

0 Answer

Your Answer