Skip to content

Commit

Permalink
Removed encoding setting because i suspect it may be messing with SMT…
Browse files Browse the repository at this point in the history
…P mail
  • Loading branch information
martin committed Sep 27, 2002
1 parent b362b85 commit 3ef909c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/moodlelib.php
Expand Up @@ -1377,7 +1377,6 @@ function email_to_user($user, $from, $subject, $messagetext, $messagehtml="", $a


$mail->Version = "Moodle $CFG->moodleversion"; // mailer version $mail->Version = "Moodle $CFG->moodleversion"; // mailer version
$mail->PluginDir = "$CFG->libdir/phpmailer/"; // plugin directory (eg smtp plugin) $mail->PluginDir = "$CFG->libdir/phpmailer/"; // plugin directory (eg smtp plugin)
$mail->Encoding = "8bit"; // encoding format - should work in most places


if ($CFG->smtphosts) { if ($CFG->smtphosts) {
$mail->IsSMTP(); // use SMTP directly $mail->IsSMTP(); // use SMTP directly
Expand Down

0 comments on commit 3ef909c

Please sign in to comment.