How to use only Nullmailer to send emails with Symfony

I have a Ubuntu server with nullmailer installed on it to relay send emails to an actual SMTP server. Everything is working as intended when I execute the following command at the CLI.

echo "Test message" | mail -r "[email protected]" -s "This is just a test with nullmailer" "[email protected]"

My question is: How can I use the mail with Symfony Mailer? I only see adapter for SendGrid and other providers. Does anyone have any idea?

Thanks!

Source: Symfony Questions

Was this helpful?

0 / 0

Leave a Reply 0

Your email address will not be published. Required fields are marked *