0

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('from@email.com');
$email->addTo('to@email.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):

enter image description here

And use that template and just add Email Body and send that?

enter image description here

Any advice appreciated!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.