Added Moodle version number

This commit is contained in:
martin 2002-06-07 03:57:38 +00:00
parent 7868189942
commit 1e411ffc98

View file

@ -907,7 +907,7 @@ function email_to_user($user, $from, $subject, $messagetext, $messagehtml="", $a
$mail = new phpmailer;
$mail->Version = "Moodle"; // mailer version
$mail->Version = "Moodle $CFG->moodleversion"; // mailer version
$mail->PluginDir = "$CFG->libdir/phpmailer/"; // plugin directory (eg smtp plugin)
if ($CFG->smtphosts) {
$mail->IsSMTP(); // use SMTP directly