Send email in magento 2.3 and beyond
First you need inject class TransportBuilder default to your constructor   \Magento\Framework\Mail\Te...
Tags: magento2, email, backend, webdev