Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

v2.2.0:: AutoMail I...
 
Notifications
Clear all

v2.2.0:: AutoMail Issue

33 Posts
3 Users
0 Reactions
30.6 K Views
(@gvecchi)
Posts: 38
Active Member
 

I modified also tool/projector.php as you typed. I thought it do the trick, isn't it?


 
Posted : 09 Aug 2012 14H00
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Yes, it should.

Could you try to add a debug line :

if (!$headers) {
    $eol=(isset($paramMailEol))?$paramMailEol:"rn";
debugLog("NewLine=".strlen($eol).":".nin2hex($eol));
    $headers  = 'MIME-Version: 1.0' . $eol;
    $headers .= 'Content-type: text/html; charset=utf-8' . $eol;
    $headers .= 'From: ' . (($sender)?$sender:$paramMailSender) . $eol;
    $headers .= 'Reply-To: ' . (($sender)?$sender:$paramMailReplyTo) . $eol;
    $headers .= 'Content-Transfer-Encoding: 8bit' . $eol;
    $headers .= 'X-Mailer: PHP/' . phpversion();
  }

Then try again a copy here the log file.


 
Posted : 09 Aug 2012 16H31
(@gvecchi)
Posts: 38
Active Member
 

If I append debug line, page hung trying sending mail notification (ex when assigne a task) and if I modify tool/projector.php

$eol=(isset($paramMailEol))?$paramMailEol:"n";

it works.


 
Posted : 09 Aug 2012 16H46
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Sorry there was a typo in the debug line :

debugLog("NewLine=".strlen($eol).":".bin2hex($eol));

I just found the issue, line 561 must be completed:

global $paramMailSender, $paramMailReplyTo, $paramMailSmtpServer, $paramMailSmtpPort, $paramMailSendmailPath, $paramMailEol;

You can remove the debug line !

Then it should work.
I include this fox in next version, so if you change it, you'll retrieve your parametering on next versions.


 
Posted : 09 Aug 2012 18H16
(@gvecchi)
Posts: 38
Active Member
 

Yeah man, now it works 😉


 
Posted : 09 Aug 2012 18H25
(@gvecchi)
Posts: 38
Active Member
 

I see that stable version 2.4.3 misses that line: isn't your "next" version 2.4.3 or do you miss it?


 
Posted : 04 Sep 2012 9H57
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

The fix appears in V2.5.0.

V2.4.3 was published on august 7th, 3 days before the identification of the fix.


 
Posted : 04 Sep 2012 11H32
(@gvecchi)
Posts: 38
Active Member
 

Ok, thx


 
Posted : 04 Sep 2012 11H41
Page 2 / 2
Share:

Scroll to Top