mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
Added Moodle version number
This commit is contained in:
parent
7868189942
commit
1e411ffc98
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue