Currently sending some emails with
Zend_Mail because it was not needed to be pretty and it is very easy:
$email = new \Zend_Mail(); $email->setSubject('Email Subject'); $email->setBodyHTML('<p>Email Body</p>'); $email->setBodyText('Email Body'); $email->setFrom('firstname.lastname@example.org'); $email->addTo('email@example.com'); $email->send();
This produces a "raw" email. Of course times change and now this does require something pretty... So I wonder if it is possible to take the default email template (like the password reset):
And use that template and just add
Email Body and send that?
Any advice appreciated!