$mailerInstance = ObjectFactory::createObjectByConfiguredName('mailer_class');
// Load the mail template
- $mailerInstance->loadTemplate("resend_link");
+ $mailerInstance->loadTemplate('resend_link');
// Add the recipient
$mailerInstance->addRecipientByUser($userInstance);