sedteam / Seditio

Seditio CMS Source

Home Page:https://seditio.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

There is a problem with Turkish characters in the mail header.

SeditioCMS opened this issue · comments

The e-mail we sent turns out to be corrupt in Turkish ???? in this way
İıçöğü problem
WhatsApp Görsel 2023-07-22 saat 10 13 04

Solved
smtp.mail.connector.php

find
$smtp_from_title = (!empty($smtp_from_title)) ? $smtp_from_title : $cfg['maintitle'];
add
$smtp_title = "=?".$cfg['charset']."?B?".base64_encode($smtp_from_title)."?=";

find
$mail->setFrom($smtp_from, $smtp_from_title);
change
$mail->setFrom($smtp_from, $smtp_title);