mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-27 18:32:29 +03:00
Set UTF-8 charset for PHP Mailer
This commit is contained in:
parent
c6d44fecb6
commit
947bd79821
1 changed files with 1 additions and 0 deletions
|
@ -242,6 +242,7 @@ class Email_messages
|
||||||
{
|
{
|
||||||
$php_mailer = new PHPMailer(true);
|
$php_mailer = new PHPMailer(true);
|
||||||
|
|
||||||
|
$php_mailer->CharSet = 'UTF-8';
|
||||||
$php_mailer->SMTPDebug = config('smtp_debug') ? SMTP::DEBUG_SERVER : null;
|
$php_mailer->SMTPDebug = config('smtp_debug') ? SMTP::DEBUG_SERVER : null;
|
||||||
|
|
||||||
if (config('protocol') === 'smtp') {
|
if (config('protocol') === 'smtp') {
|
||||||
|
|
Loading…
Reference in a new issue