In Shopware 5 there was a
mail->send() function which was sending an email with the desired template and content.
What is the name of the function in Shopware 6?
P.S. I see some files which I think are the ones needed, some examples of mail sending would be welcomed.
Source: Symfony Questions