Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-27, 09:19:49

Author Topic: [BUG] Mails sent via Kloxo doesn't work !  (Read 2485 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
[BUG] Mails sent via Kloxo doesn't work !
« on: 2014-05-27, 23:44:26 »
Nothing is working, none of e-mails arrives after last update...

Welcome message, resend welcome message, ticket center and message to customer does not send e-mails !

However sendmail limits see that something was sent:

Quote
[Tue, 27 May 2014 23:45:10 +0200] /usr/local/lxlabs/kloxo/httpdocs  - root:0 / (OK)
[Tue, 27 May 2014 23:45:34 +0200] /usr/local/lxlabs/kloxo/httpdocs  - root:0 / (OK)
[Tue, 27 May 2014 23:47:16 +0200] /usr/local/lxlabs/kloxo/httpdocs  - root:0 / (OK)

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: [BUG] Mails sent via Kloxo doesn't work !
« Reply #1 on: 2014-05-28, 14:02:42 »
Bug is inside this file:  kloxo/httpdocs/lib/html/lib.php

When restored from previous version it works fine again.

Another bug is in these two files:

kloxo/httpdocs/lib/ticket/tickethistorylib.php
kloxo/httpdocs/lib/ticket/smessagelib.php

UTF-8 is gone missing after latest update. Needs to restore these two also...

In kloxo/httpdocs/lib/html/lib.php this must be changed:

Quote
   $header .= "MIME-Version: 1.0\n";
   $header .= "Content-type: text/html; charset=utf-8\n";

to

Quote
   $header = "MIME-Version: 1.0\n";
   $header = "Content-type: text/html; charset=utf-8\n";
« Last Edit: 2014-05-28, 14:32:51 by Spacedust »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: [BUG] Mails sent via Kloxo doesn't work !
« Reply #2 on: 2014-05-29, 02:51:56 »
Try back to latest update but change '$header  = "From: {$from}";' to '$header  = "From: {$from}\n";' at 'lx_mail' in lib.php.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: [BUG] Mails sent via Kloxo doesn't work !
« Reply #3 on: 2014-05-30, 14:56:25 »
Try back to latest update but change '$header  = "From: {$from}";' to '$header  = "From: {$from}\n";' at 'lx_mail' in lib.php.

Works but mail is sent from root@mail.domain.com instead of kloxo@domain.com

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix

Page created in 0.078 seconds with 18 queries.

web stats analysis