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.

Hi everyone. I am hoping to do some updating to t[…]

I have added sorting by whether a Contact is Hot o[…]

Bulk Emails

Thanks, however, I’ve now successfully imple[…]

Email Integration

sending emails from opencats I've funded a ver[…]

opencats current release does not support PHP 7.x,[…]

Sorry - I've replied to a separate thread on this.[…]

Hi I have a separate patch I had developed that l[…]

Guys, 99% of the issues I see reported are due t[…]

Hey @ormankanca , that's great news - but is it […]

MySql is not working.

Just to update and close of this thread. I did as […]

Email History

Hi Russ, It's a start! Please find instruction[…]

Insert this code at line 60 of /modules/candidates[…]

With the PHPMailer option sending multiple emails […]

I've tried to get template support working (https:[…]