OpenCATS 0.9.4-3

Free, Open-Source Applicant Tracking System including job-board. Entirely customisable!

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.
User avatar
By PersonalAgentin
#4495
How can we correct the handling of umlauts (ä, ö, ü) in e-mails?

===
25-09-19 10:34 AM

Dear Dieter Linner,

This e-mail is a notification that a candidate has applied to your job order through the online candidate portal.

Job Order: Installateur Heizung-Sanitär-Lüftung (m/w/)
Candidate Name: Dieter Linner
Candidate URL: http://www.personal247.de/index.php?m=c ... didateID=3
Job Order URL: http://www.personal247.de/index.php?m=j ... bOrderID=8

--
CATS
neuerjob24



Powered by CATS (Free ATS)
===
By dveos
#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
                );
            }
User avatar
By RussH
#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
By dveos
#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
                );
            }
User avatar
By RussH
#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.

For the effortless Exchange migration, EdbMails Ex[…]

Learning the skill of self defense is the great ac[…]

EdbMails Exchange Migration software is the best o[…]

How to change font of graphs

Hi, I want to change the font of my graphs. I noti[…]

CPL-consistent "debranding"

I'm confident by using my webhosts that my subvers[…]

Also, at the top I see this error: Warning: inclu[…]

I've written a custom PHP code which is actually a[…]

It would be nice for CATSone to also allow the aut[…]

Hi there! I would like to implement a search box […]

OpenCATS restore

Yes I think so. I assume you made a backup of al y[…]

Is this a fresh install of 0.9.4-3 and you importe[…]