View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Comment fonctionne l'automate de récupération d'email afin de mettre à jour les tickets - Page 3 - ProjeQtOr
 
 

Comment fonctionne l'automate de récupération d'email afin de mettre à jour les tickets

More
14 Jan 2014 12:39 #13 by Martin
In $body there is nothing
but in $bodyHtml there is something...

Please Log in or Create an account to join the conversation.

More
14 Jan 2014 13:21 - 14 Jan 2014 13:22 #14 by babynus

In $body there is nothing
but in $bodyHtml there is something...

That's <hy your messages are not treated : only $body is parsed.

Does what is in $bodyHtml correspond to your message to be treated ?

Babynus
Administrator of ProjeQtOr web site
Last edit: 14 Jan 2014 13:22 by babynus.

Please Log in or Create an account to join the conversation.

More
14 Jan 2014 14:34 #15 by Martin
Yes!

I tried to add $body =$bodyHtml, but did not succeed. :(
Seems that the HTML code is not clean like plain text

Please Log in or Create an account to join the conversation.

More
14 Jan 2014 14:54 #16 by babynus
Yes, it's a bit more complex.

Here is just a try for a fix : unzip joint file (with folder) into /external.
Then make a small change in /model/Cron.php, from line 492, this way :
$body=$mail->textPlain;
		$bodyHtml=$mail->textHtml;
		if (! $body and $bodyHtml) {
			include_once '../external/html2text/html2text.php';
			$body=convert_html_to_text($bodyHtml);
		}

Start / stop the Cron so that changes are taken into accound and try again.

Babynus
Administrator of ProjeQtOr web site
Attachments:

Please Log in or Create an account to join the conversation.

More
14 Jan 2014 18:12 #17 by Martin
First, I would like to thank you for your involvement!

I have another type of error now :(

2014-01-14 16:03:22 ===== TRACE ===== Cron started at 14/01/2014 16:03:22
2014-01-14 16:03:23 ***** ERROR ***** ERROR *****
2014-01-14 16:03:23 ***** ERROR ***** on file '/var/www/html/projectorria/external/html2text/html2text.php' at line (30)
2014-01-14 16:03:23 ***** ERROR ***** cause = DOMDocument::loadHTML(): Namespace prefix o is not defined in Entity, line: 52
2014-01-14 16:03:23 ***** ERROR ***** ERROR *****
2014-01-14 16:03:23 ***** ERROR ***** on file '/var/www/html/projectorria/external/html2text/html2text.php' at line (30)
2014-01-14 16:03:23 ***** ERROR ***** cause = DOMDocument::loadHTML(): Tag o:p invalid in Entity, line: 52
2014-01-14 16:03:23 ***** ERROR ***** ERROR *****
2014-01-14 16:03:23 ***** ERROR ***** on file '/var/www/html/projectorria/external/html2text/html2text.php' at line (30)
2014-01-14 16:03:23 ***** ERROR ***** cause = DOMDocument::loadHTML(): Namespace prefix o is not defined in Entity, line: 53
2014-01-14 16:03:23 ***** ERROR ***** ERROR *****
2014-01-14 16:03:23 ***** ERROR ***** on file '/var/www/html/projectorria/external/html2text/html2text.php' at line (30)
2014-01-14 16:03:23 ***** ERROR ***** cause = DOMDocument::loadHTML(): Tag o:p invalid in Entity, line: 53
2014-01-14 16:03:23 ***** ERROR ***** ERROR *****
2014-01-14 16:03:23 ***** ERROR ***** on file '/var/www/html/projectorria/external/html2text/html2text.php' at line (30)
2014-01-14 16:03:23 ***** ERROR ***** cause = DOMDocument::loadHTML(): Namespace prefix o is not defined in Entity, line: 60
2014-01-14 16:03:23 ***** ERROR ***** ERROR *****
2014-01-14 16:03:23 ***** ERROR ***** on file '/var/www/html/projectorria/external/html2text/html2text.php' at line (30)
2014-01-14 16:03:23 ***** ERROR ***** cause = DOMDocument::loadHTML(): Tag o:p invalid in Entity, line: 60
2014-01-14 16:03:23 ***** ERROR ***** ERROR *****
2014-01-14 16:03:23 ***** ERROR ***** on file '/var/www/html/projectorria/external/html2text/html2text.php' at line (30)
2014-01-14 16:03:23 ***** ERROR ***** cause = DOMDocument::loadHTML(): Namespace prefix o is not defined in Entity, line: 63
2014-01-14 16:03:23 ***** ERROR ***** ERROR *****
2014-01-14 16:03:23 ***** ERROR ***** on file '/var/www/html/projectorria/external/html2text/html2text.php' at line (30)
2014-01-14 16:03:23 ***** ERROR ***** cause = DOMDocument::loadHTML(): Tag o:p invalid in Entity, line: 63
2014-01-14 16:03:23 ***** ERROR ***** ERROR *****
2014-01-14 16:03:23 ***** ERROR ***** on file '/var/www/html/projectorria/external/html2text/html2text.php' at line (30)
2014-01-14 16:03:23 ***** ERROR ***** cause = DOMDocument::loadHTML(): Namespace prefix o is not defined in Entity, line: 68
2014-01-14 16:03:23 ***** ERROR ***** ERROR *****
2014-01-14 16:03:23 ***** ERROR ***** on file '/var/www/html/projectorria/external/html2text/html2text.php' at line (30)
2014-01-14 16:03:23 ***** ERROR ***** cause = DOMDocument::loadHTML(): Tag o:p invalid in Entity, line: 68

Please Log in or Create an account to join the conversation.

More
14 Jan 2014 19:05 #18 by babynus
It seems your htmlBody is not a well formed HTML document.

Could you post (or send to me) an example of what you retrieve as $bodyHtml ?

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.035 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.