Troubles with KT_Email.class.php

User avatar
al3abmizo
Posts: 4
Joined: 2016-01-17 21:23
Location: Cairo
Contact:

Re: Troubles with KT_Email.class.php

Post by al3abmizo » 2016-01-17 21:51

Hi all,
I have searched and found a great solution that fixed the problem in just a seconds.

Find php/pear/Mail.php, go to line 74 and change:

Code: Select all

function &factory($driver, $params = array())

to

static function &factory($driver, $params = array())
Also in php/pear/Mail.php go to line 253 and change:

Code: Select all

$addresses = Mail_RFC822::parseAddressList($recipients, 'localhost', false);

to

$Mail_RFC822 = new Mail_RFC822();
$addresses = $Mail_RFC822->parseAddressList($recipients, 'localhost', false);
Find php/pear/PEAR.php, go to line 250 and change:

Code: Select all

function isError($data, $code = null)

to

static function isError($data, $code = null)
Thanks and hope it fix this!
My best wishes & greetings
Al3abMizo Games

User avatar
Fred
Site Admin
Posts: 491
Joined: 2010-02-15 12:10
Location: Armagh, Northern Ireland
Contact:

Re: Troubles with KT_Email.class.php

Post by Fred » 2016-01-17 23:24

Thanks Waleed.
I deleted your duplicate post so that the solution can stay in the topic where it is relevant.

User avatar
al3abmizo
Posts: 4
Joined: 2016-01-17 21:23
Location: Cairo
Contact:

Re: Troubles with KT_Email.class.php

Post by al3abmizo » 2016-01-28 13:51

Hello Fred
Thanks for managing the topic, the solution is amazing and working like a charm :)
My best wishes & greetings
Al3abMizo Games

Post Reply