Silverstripe Version:5.2
Question: What is the best way to build custom transport for sending emails. Like to all emails goes through my custom transport
I am in the process of upgrading older version of SS site to 5.2. The older version has a custom mail transport build. That was extinging ‘Swift_SmtpTransport’. Silverstripe 5.2 does not support ‘Swift_SmtpTransport’.
So, can I extend SmtpTransport to create some custamizations? Example in the custom transport, we are logging the email so that it can be re-sent at a later stage if required and few more things like that.
If I can extent SmtpTransport how can I do it?
Thanks for the help
Cheers
R