File : modules/smtp/src/Plugin/Mail/SMTPMailSystem.php
Line : 103
Code :
//$subject = $message['subject'];
$subject = Unicode::mimeHeaderEncode($message['subject']);

Line : 130
Code :
// $mailer->FromName = $from_name;
$mailer->FromName = Unicode::mimeHeaderEncode($from_name);

Comments

JFH - 3DX internet created an issue. See original summary.

Raman Starshykh’s picture

Issue tags: +epam-contrib-2019.03
linichalexey’s picture

Issue tags: -epam-contrib-2019.03
wundo’s picture

JFH - 3DX internet’s picture

in 8.x-1.0-beta6
File : modules/smtp/src/Plugin/Mail/SMTPMailSystem.php
ok for
// $mailer->FromName = $from_name;
$mailer->FromName = Unicode::mimeHeaderEncode($from_name);

but not line 140 for subject

//$subject = $message['subject'];
$subject = Unicode::mimeHeaderEncode($message['subject']

bluegeek9’s picture


$subject = (new UnstructuredHeader('subject', $message['subject']))->getBodyAsString();

$mailer->FromName = (new UnstructuredHeader('From', $from_name))->getBodyAsString();

#3312237: Message subject : accented character encoding problem

//www.flaticon.com/free-icons/thank-you Thank you for your contribution! Your continued support makes this project sustainable.
There are multiple ways to show appreciation for the work contributed to this project including:
  • Triage issues and adding more context to existing issues.
  • Flagging SMTP as a favorite on the project page to help others discover it and show your support.
bluegeek9’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.