Shopware 6 - Tips, tricks and how to's

How to send emails from Shopware 6 programmatically

Lately, I have needed to send an email notification from one Shopware 6 store, if something happened in one of the background scripts. Of course, I could have just used the standard PHP mail function,