Browse Source

Merge branch 'develop'

Alan Lam 7 years ago
parent
commit
2fa5457361
1 changed files with 3 additions and 1 deletions
  1. 3 1
      engine/email.php

+ 3 - 1
engine/email.php

@@ -18,6 +18,8 @@ class Email {
 		$mail->Password = SMTP_PASSWORD;
 		$mail->SMTPSecure = SMTP_AUTHENTICATION_TYPE;
 		$mail->Port = SMTP_PORT;
+		$mail->CharSet = 'UTF-8';
+		$mail->Encoding = 'base64';
 		return $mail;
 	}
 
@@ -131,4 +133,4 @@ class Email {
 		}
 	}
 
-}
+}