X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/fa157c9419df82b1cab041e771dab947a174c652..db2ca21db73a2ea52155510e1e0300541d6b9ef6:/password_reset.php diff --git a/password_reset.php b/password_reset.php index 216a81cf..f1780bc2 100644 --- a/password_reset.php +++ b/password_reset.php @@ -105,7 +105,7 @@ if ($request->isPost()) { 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')); }