Skip to content
GitLab
    • Explore Projects Groups Topics Snippets
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • fusiondirectory-integrator fusiondirectory-integrator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 6
    • Issues 6
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • fusiondirectoryfusiondirectory
  • fusiondirectory-integratorfusiondirectory-integrator
  • Merge requests
  • !47
An error occurred while fetching the assigned milestone of the selected merge_request.

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

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged dockx thibault requested to merge 38-orchestrator-mail-controller-format-of-mail-text-and-signature-are-not-utf8-usage-of-accents-is into dev 5 months ago
  • Overview 0
  • Commits 1
  • Pipelines 2
  • Changes 1

Related to #38 (closed)

Viewing commit c21c46bd
Show latest version
1 file
+ 5
− 1

    Preferences

    File browser
    Compare changes
  • Verified
    c21c46bd
    dockx thibault
    :sparkles: Feat(Integrator) - mail lib can now process accent properly · c21c46bd
    dockx thibault authored 5 months ago
    Encoding UTF-8.
src/FusionDirectory/Mail/MailLib.php
+ 5
− 1
  • View file @ c21c46bd

  • Edit in single-file editor

  • Open in Web IDE


@@ -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;
Assignee
dockx thibault's avatar
dockx thibault
Assign to
0 Reviewers
None
Request review from
Labels
0
None
0
None
    Assign labels
  • Manage project labels

Milestone
No milestone
None
None
Time tracking
No estimate or time spent
Lock merge request
Unlocked
0
0 Participants
Reference:
Source branch: 38-orchestrator-mail-controller-format-of-mail-text-and-signature-are-not-utf8-usage-of-accents-is

Menu

Explore Projects Groups Topics Snippets