Commit da2129f9 authored by dockx thibault's avatar dockx thibault
Browse files

Merge branch...

Merge branch '38-orchestrator-mail-controller-format-of-mail-text-and-signature-are-not-utf8-usage-of-accents-is' into 'dev'

Resolve "[Orchestrator] - Mail controller - format of mail text and signature are not utf8 - usage of accents is impossible"

See merge request !47
2 merge requests!52:sparkles: Releasing Fusiondirectory Integrator 1.2,!47Resolve "[Orchestrator] - Mail controller - format of mail text and signature are not utf8 - usage of accents is impossible"
Pipeline #30891 passed with stages
in 2 minutes and 37 seconds
Showing with 5 additions and 1 deletion
+5 -1
......@@ -50,12 +50,16 @@ class MailLib
$this->mail->isSMTP();
$this->mail->Host = $_ENV["MAIL_HOST"];
// Set UTF-8 character encoding
$this->mail->CharSet = 'UTF-8';
// Set base64 for non UTF-8 char
$this->mail->Encoding = 'base64';
/*
* In case there are FQDN errors responses by the SMTP server, try below.
* $this->mail->Helo = '['.$_SERVER['SERVER_ADDR'].']';
*/
// Authentication mechanism
if ($_ENV["MAIL_AUTH"] == "TRUE") {
$this->mail->SMTPAuth = TRUE;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment