How do I configure Symfony Mailer in Silverstripe 4.10.
I am new to Silverstripe and I am finding sending emails to be extremely complicated. It says to never use Swiftmailer so I installed Symfony Mailer using Composer. Unfortunately, I have no idea where to even start configuring it. I have read about email configuration in the Silverstripe Docs but they could not help me.
I know I am supposed to edit the file app/_config/email.yml
# See https://docs.silverstripe.org/en/4/developer_guides/email/ for additional information about setting up email --- Name: project-emailconfig After: - '#emailconfig' --- SilverStripe\Core\Injector\Injector: Swift_Transport: class: Swift_SendmailTransport
How do I edit email.yml to be able to send emails using Symfony Mailer? Any other alternatives are welcome, I just want mail to work. This is my first question so I apologise if it is not properly formatted and would welcome a kind person to format it correctly.
Symphony mailer is installed in the root directory.