$this->mMailMode = $type;
}
- function setSendType($value) {
+ function setMailMode($value) {
$this->mMailMode = $value;
}
$mailer->setContentType('text/html');
$mailer->setSender(SENDER);
$mailer->setReceiver($email);
- $mailer->setSendType(MAIL_MODE);
+ $mailer->setMailMode(MAIL_MODE);
if (!$mailer->send($report['name'], $body))
return false;
<br>
<table cellspacing="0" cellpadding="4" width="100%" border="0">
<tr>
- <td align="center"> Anuko Time Tracker 1.9.36.3560 | Copyright © <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+ <td align="center"> Anuko Time Tracker 1.9.36.3561 | Copyright © <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
<a href="https://www.anuko.com/lp/tt_4.htm" target="_blank">{$i18n.footer.credits}</a> |
<a href="https://www.anuko.com/lp/tt_5.htm" target="_blank">{$i18n.footer.license}</a> |
<a href="https://www.anuko.com/lp/tt_7.htm" target="_blank">{$i18n.footer.improve}</a>
$mailer->setReceiver($cl_receiver);
if (isset($cl_cc))
$mailer->setReceiverCC($cl_cc);
- $mailer->setSendType(MAIL_MODE);
+ $mailer->setMailMode(MAIL_MODE);
if ($mailer->send($cl_subject, $body))
$msg->add($i18n->getKey('form.mail.invoice_sent'));
else
else
$pass_edit_url = $http.'://'.$_SERVER['HTTP_HOST'].'/password_change.php?ref='.$temp_ref;
- $sender->setSendType(MAIL_MODE);
+ $sender->setMailMode(MAIL_MODE);
$res = $sender->send($cl_subject, sprintf($user_i18n->getKey('form.reset_password.email_body'), $pass_edit_url));
$smarty->assign('result_message', $res ? $i18n->getKey('form.reset_password.message') : $i18n->getKey('error.mail_send'));
}
$mailer->setReceiver($cl_receiver);
if (isset($cl_cc))
$mailer->setReceiverCC($cl_cc);
- $mailer->setSendType(MAIL_MODE);
+ $mailer->setMailMode(MAIL_MODE);
if ($mailer->send($cl_subject, $body))
$msg->add($i18n->getKey('form.mail.report_sent'));
else