Please describe the issue you're having
If you accept the answer, please mark the topic as [SOLVED] by clicking the tick.
Moderators: RussH , cptr13
Forum rules: Just please remember to play nicely once you walk through the door. You can disagree with us, or any other commenters in this forum, but respect our space and keep your comments directed to the topic at hand.
Posts: 11 Joined: 11 Sep 2019, 20:55 Status: Off-line
Reputation Points:
what is two(2) plus three(3) ?: 5
By
dveos - 02 Oct 2019, 10:42
- 02 Oct 2019, 10:42
#0
Hi, this should fix this for you - add: $this->_mailer->CharSet = 'UTF-8'; to line 238 of lib/mailer.php
So would become:-
Code: Select all if (!empty($replyTo))
{
$this->_mailer->AddReplyTo($replyTo[0], $replyTo[1]);
}
$this->_mailer->CharSet = 'UTF-8';
if (!$this->_mailer->Send())
{
$failedRecipients[] = array(
'recipient' => $recipients[$key],
'errorMessage' => $this->_mailer->ErrorInfo
);
}
info@edleco.com
UK Software Development
Posts: 87 Joined: 09 Jun 2015, 15:35 Status: Off-line
Reputation Points: 1
what is two(2) plus three(3) ?: 5
By
RussH - 01 Oct 2019, 16:08
- 01 Oct 2019, 16:08
#4509
Hi!
sorry haven't had a chance to look through the code yet but this will be a characterset problem. We use the phpmailer package for email generation. It should be set to UTF-8 everywhere. Take a look here for a similar issue/resolution
https://stackoverflow.com/questions/320 ... ith-umlaut
RussH
Report your issues and feature requests;
https://github.com/opencats/opencats/issues
Posts: 1040 Joined: 12 Apr 2008, 08:28 Status: Online
Reputation Points: 1
what is two(2) plus three(3) ?: 5
Location: UK
By
dveos - 02 Oct 2019, 10:42
- 02 Oct 2019, 10:42
#4510
Hi, this should fix this for you - add: $this->_mailer->CharSet = 'UTF-8'; to line 238 of lib/mailer.php
So would become:-
Code: Select all if (!empty($replyTo))
{
$this->_mailer->AddReplyTo($replyTo[0], $replyTo[1]);
}
$this->_mailer->CharSet = 'UTF-8';
if (!$this->_mailer->Send())
{
$failedRecipients[] = array(
'recipient' => $recipients[$key],
'errorMessage' => $this->_mailer->ErrorInfo
);
}
info@edleco.com
UK Software Development
Posts: 87 Joined: 09 Jun 2015, 15:35 Status: Off-line
Reputation Points: 1
what is two(2) plus three(3) ?: 5
By
RussH - 02 Oct 2019, 12:07
- 02 Oct 2019, 12:07
#4511
dveos wrote: ↑ 02 Oct 2019, 10:42
Hi, this should fix this for you - add: $this->_mailer->CharSet = 'UTF-8'; to line 238 of lib/mailer.php
Thanks @dveos , on the ball as always!
I'll add this as a fix.
RussH
Report your issues and feature requests;
https://github.com/opencats/opencats/issues
Posts: 1040 Joined: 12 Apr 2008, 08:28 Status: Online
Reputation Points: 1
what is two(2) plus three(3) ?: 5
Location: UK
- 08 Oct 2019, 20:47
#4519
Thank you. Thank you. I've inserted it. I'll get back to you if any problems persist.
Posts: 11 Joined: 11 Sep 2019, 20:55 Status: Off-line
Reputation Points:
what is two(2) plus three(3) ?: 5
Jump to:
Select the forum to jump to