View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - configuration d'envoi émail - Page 5 - ProjeQtOr
 
 

configuration d'envoi émail

More
27 Jul 2013 00:27 #25 by babynus
In addition Error reported now is
451 - The command has been aborted due to a server error. Not your fault. Maybe let the admin know.
It is generally reported when end of line is not correct.
You should return to default \r\n

Babynus
Administrator of ProjeQtOr web site

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

More
27 Jul 2013 00:39 #26 by timoumi
I change to default \r\n
But not work
the log file :
///////////////
2013-07-27 00:33:13 ===== TRACE ===== sendMailAnonymous
2013-07-27 00:33:14 ***** ERROR ***** ERROR *****
2013-07-27 00:33:14 ***** ERROR ***** on file 'C:\wamp\www\pro\tool\projector.php' at line (883)
2013-07-27 00:33:14 ***** ERROR ***** cause = mail() [<a href='function.mail'>function.mail</a>]: Failed to Receive
2013-07-27 00:33:14 ***** ERROR ***** Error sending mail
2013-07-27 00:33:14 ***** ERROR ***** SMTP Server : smtp.topnet.tn
2013-07-27 00:33:14 ***** ERROR ***** SMTP Port : 25
2013-07-27 00:33:14 ***** ERROR ***** Sendmail path :
2013-07-27 00:33:14 ***** ERROR ***** Mail stored in Database : #18

//////////////////////////////
the lines on file "projector.php"
///////////////////////////////
876 if ($paramMailSmtpServer!==null) {
877 //$resultMail=mail($to,$title,$message,$headers);
878 debugLog("mail()");
879 debugLog("to=$to");
880 debugLog("title=$title");
881 debugLog("message=$message");
882 debugLog("headers=$headers");
883 $resultMail=mail($to,$title,$message,$headers);
884 debugLog("resultMail=$resultMail");
885
886 } else {
887 errorLog(" SMTP Server not set. Not able to send mail.");
888 }

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

More
27 Jul 2013 00:49 #27 by babynus
Please read all the posts :S

The log is not as expected.
I expect some debug traces.
You should set logLevel to 3 in parameters.php
$logLevel='3';

Thne try again and post log result.

Babynus
Administrator of ProjeQtOr web site
The following user(s) said Thank You: timoumi

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

More
27 Jul 2013 10:58 #28 by timoumi
After setting logLevel to 3
the log file when sending ùail on project module. I try the new latest version of project'or ria


2013-07-27 10:45:47
DEBUG
mail()
2013-07-27 10:45:47
DEBUG
to=*********@***.**
2013-07-27 10:45:47
DEBUG
title=[My Own Project'Or RIA] message from admin : Project #1
2013-07-27 10:45:47
DEBUG
message=<html>
<head>
<title>[My Own Project'Or RIA] message from admin : Project #1</title>
</head>
<body>
hekko<br/><br/><table style="font-size:9pt; width: 95%"><tr><td
colspan="2" style="font-size:18pt;color:#AAAAAA"><a
href="http://localhost/pr/view/main.php?directAccess=true&objectClass=Project&objectId=1">Project
#1</a></td></tr><tr><td
style="background:#DDDDDD;font-weight:bold;text-align:
right;width:25%;vertical-align: middle;">&nbsp;&nbsp;id&nbsp;</td>
<td style="background:#FFFFFF;text-align: left;">&nbsp;<span
style="color:grey;">#</span>1</td>
</tr>
<tr><td style="background:#DDDDDD;font-weight:bold;text-align:
right;width:25%;vertical-align: middle;">&nbsp;&nbsp;name&nbsp;</td>
<td style="background:#FFFFFF;text-align: left;">&nbsp;test</td>
</tr>
<tr><td style="background:#DDDDDD;font-weight:bold;text-align:
right;width:25%;vertical-align: middle;">&nbsp;&nbsp;type&nbsp;</td>
<td style="background:#FFFFFF;text-align: left;">&nbsp;Fixed
Price</td>
</tr>
<tr><td style="background:#DDDDDD;font-weight:bold;text-align:
right;width:25%;vertical-align:
middle;">&nbsp;&nbsp;customer&nbsp;</td>
<td style="background:#FFFFFF;text-align: left;">&nbsp;</td>
</tr>
<tr><td style="background:#DDDDDD;font-weight:bold;text-align:
right;width:25%;vertical-align: middle;">&nbsp;&nbsp;bill
contact&nbsp;</td>
<td style="background:#FFFFFF;text-align: left;">&nbsp;</td>
</tr>
<tr><td style="background:#DDDDDD;font-weight:bold;text-align:
right;width:25%;vertical-align: middle;">&nbsp;&nbsp;project
code&nbsp;</td>
<td style="background:#FFFFFF;text-align: left;">&nbsp;</td>
</tr>
<tr><td style="background:#DDDDDD;font-weight:bold;text-align:
right;width:25%;vertical-align: middle;">&nbsp;&nbsp;contract
code&nbsp;</td>
<td style="background:#FFFFFF;text-align: left;">&nbsp;</td>
</tr>
<tr><td style="background:#DDDDDD;font-weight:bold;text-align:
right;width:25%;vertical-align: middle;">&nbsp;&nbsp;is sub-project
of&nbsp;</td>
<td style="background:#FFFFFF;text-align: left;">&nbsp;</td>
</tr>
<tr><td style="background:#DDDDDD;font-weight:bold;text-align:
right;width:25%;vertical-align:
middle;">&nbsp;&nbsp;manager&nbsp;</td>
<td style="background:#FFFFFF;text-align: left;">&nbsp;admin</td>
</tr>
<tr><td style="background:#DDDDDD;font-weight:bold;text-align:
right;width:25%;vertical-align: middle;">&nbsp;&nbsp;color&nbsp;</td>
<td style="background:#FFFFFF;text-align: left;">&nbsp;</td>
</tr>
<tr><td style="background:#DDDDDD;font-weight:bold;text-align:
right;width:25%;vertical-align: middle;">&nbsp;&nbsp;status&nbsp;</td>
<td style="background:#FFFFFF;text-align: left;">&nbsp;recorded</td>
</tr>
<tr><td style="background:#DDDDDD;font-weight:bold;text-align:
right;width:25%;vertical-align: middle;">&nbsp;&nbsp;health
status&nbsp;</td>
<td style="background:#FFFFFF;text-align: left;">&nbsp;</td>
</tr>
<tr><td style="background:#DDDDDD;font-weight:bold;text-align:
right;width:25%;vertical-align: middle;">&nbsp;&nbsp;fix
planning&nbsp;</td>
<td style="background:#FFFFFF;text-align: left;">&nbsp;<input
type="checkbox" disabled="disabled" /></td>
</tr>
<tr><td style="background:#DDDDDD;font-weight:bold;text-align:
right;width:25%;vertical-align: middle;">&nbsp;&nbsp;done&nbsp;</td>
<td style="background:#FFFFFF;text-align: left;">&nbsp;<input
type="checkbox" disabled="disabled" />&nbsp;&nbsp;&nbsp;</td>
</tr>
<tr><td style="background:#DDDDDD;font-weight:bold;text-align:
right;width:25%;vertical-align: middle;">&nbsp;&nbsp;closed&nbsp;</td>
<td style="background:#FFFFFF;text-align: left;">&nbsp;<input
type="checkbox" disabled="disabled" />&nbsp;&nbsp;&nbsp;</td>
</tr>
<tr><td style="background:#DDDDDD;font-weight:bold;text-align:
right;width:25%;vertical-align:
middle;">&nbsp;&nbsp;description&nbsp;</td>
<td style="background:#FFFFFF;text-align: left;">&nbsp;</td>
</tr>
<tr><td colspan="2" style="background:#555555;color: #FFFFFF;
text-align: center;font-size:10pt;font-weight:bold;">Notes</td>
</tr>
</table>
<body>
</html>
2013-07-27 10:45:47
DEBUG
headers=MIME-Version: 1.0
Content-Type: text/html; charset=utf-8
From: *********@***.**
Reply-To: *********@***.**
Content-Transfer-Encoding: 8bit
X-Mailer: PHP/5.3.10
2013-07-27 10:45:48 ***** ERROR ***** ERROR *****
2013-07-27 10:45:48 ***** ERROR ***** on file 'C:\wamp\www\pr\tool\projector.php' at line (855)
2013-07-27 10:45:48 ***** ERROR ***** cause = mail() [<a href='function.mail'>function.mail</a>]: SMTP server response: 451 See pobox.com/~djb/docs/smtplf.html.
2013-07-27 10:45:48
DEBUG
resultMail=
2013-07-27 10:45:48 ***** ERROR ***** Error sending mail
2013-07-27 10:45:48 ***** ERROR ***** SMTP Server : smtp.*****.**
2013-07-27 10:45:48 ***** ERROR ***** SMTP Port : 25
2013-07-27 10:45:48 ***** ERROR ***** Sendmail path :
2013-07-27 10:45:48 ***** ERROR ***** Mail stored in Database : #3

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

More
27 Jul 2013 12:09 #29 by babynus
Thanks for the log.
The error is 451 again...

1) What is the end of line on the global parameters screen ?
It should be default "\r\n".

2) Could you please try from user, where it works correctly.

3) Could you also try from another item (ticket for instance)

and post here again log result.
Thanks.

Babynus
Administrator of ProjeQtOr web site
The following user(s) said Thank You: timoumi

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

More
27 Jul 2013 12:39 #30 by timoumi
1) The end of line on the global parameters screen "\r\n".
2) Send mail from user works correctly
3) send mail from ticket not works
Log file:
//////////////
/////////////////////////////
Log Mail send from user module
/////////////////////////////
2013-07-27 12:29:29
DEBUG
mail()
2013-07-27 12:29:29
DEBUG
to=*********@*****.**
2013-07-27 12:29:29
DEBUG
title=[My Own Project'Or RIA] message from : Your account information
2013-07-27 12:29:29
DEBUG
message=You are welcome to My Own Project'Or RIA at <a href="http://localhost/pr">http://localhost/pr.
Your login is admin.
Your password is initialized to admin
You will have to change it on first connection.

In case of an issue contact your administrator at *********@*****.**.
2013-07-27 12:29:29
DEBUG
headers=MIME-Version: 1.0
Content-Type: text/html; charset=utf-8
From: *********@*****.**
Reply-To: *********@*****.**
Content-Transfer-Encoding: 8bit
X-Mailer: PHP/5.3.10
2013-07-27 12:29:30
DEBUG
resultMail=1
////////////////////////
Log Mail send from ticket module
///////////////////////
2013-07-27 12:30:30
DEBUG
mail()
2013-07-27 12:30:30
DEBUG
to=*********@yahoo.fr
2013-07-27 12:30:30
DEBUG
title=[My Own Project'Or RIA] message from admin : Ticket #1
2013-07-27 12:30:30
DEBUG
message=<html>
<head>
<title>[My Own Project'Or RIA] message from admin : Ticket #1</title>
</head>
<body>
test<br/><br/><table style="font-size:9pt; width: 95%"><tr><td
colspan="2" style="font-size:18pt;color:#AAAAAA"><a
href="http://localhost/pr/view/main.php?directAccess=true&objectClass=Ticket&objectId=1">Ticket
#1</a></td></tr><tr><td colspan="2" style="background:#555555;color:
#FFFFFF; text-align:
center;font-size:10pt;font-weight:bold;">Description</td>
</tr>
<tr><td style="background:#DDDDDD;font-weight:bold;text-align:
right;width:25%;vertical-align: middle;">&nbsp;&nbsp;id&nbsp;</td>
<td style="background:#FFFFFF;text-align: left;">&nbsp;<span
style="color:grey;">#</span>1&nbsp;&nbsp;&nbsp;-INC-1</td>
</tr>
<tr><td style="background:#DDDDDD;font-weight:bold;text-align:
right;width:25%;vertical-align:
middle;">&nbsp;&nbsp;project&nbsp;</td>
<td style="background:#FFFFFF;text-align: left;">&nbsp;test</td>
</tr>
<tr><td style="background:#DDDDDD;font-weight:bold;text-align:
right;width:25%;vertical-align: middle;">&nbsp;&nbsp;ticket
type&nbsp;</td>
<td style="background:#FFFFFF;text-align: left;">&nbsp;Incident</td>
</tr>
<tr><td style="background:#DDDDDD;font-weight:bold;text-align:
right;width:25%;vertical-align: middle;">&nbsp;&nbsp;name&nbsp;</td>
<td style="background:#FFFFFF;text-align: left;">&nbsp;test</td>
</tr>
<tr><td style="background:#DDDDDD;font-weight:bold;text-align:
right;width:25%;vertical-align: middle;">&nbsp;&nbsp;external
reference&nbsp;</td>
<td style="background:#FFFFFF;text-align: left;">&nbsp;</td>
</tr>
<tr><td style="background:#DDDDDD;font-weight:bold;text-align:
right;width:25%;vertical-align:
middle;">&nbsp;&nbsp;urgency&nbsp;</td>
<td style="background:#FFFFFF;text-align: left;">&nbsp;</td>
</tr>
<tr><td style="background:#DDDDDD;font-weight:bold;text-align:
right;width:25%;vertical-align: middle;">&nbsp;&nbsp;creation
date/time&nbsp;</td>
<td style="background:#FFFFFF;text-align: left;">&nbsp;27/07/2013
12:25</td>
</tr>
<tr><td style="background:#DDDDDD;font-weight:bold;text-align:
right;width:25%;vertical-align: middle;">&nbsp;&nbsp;issuer&nbsp;</td>
<td style="background:#FFFFFF;text-align: left;">&nbsp;admin</td>
</tr>
<tr><td style="background:#DDDDDD;font-weight:bold;text-align:
right;width:25%;vertical-align:
middle;">&nbsp;&nbsp;requestor&nbsp;</td>
<td style="background:#FFFFFF;text-align: left;">&nbsp;</td>
</tr>
<tr><td style="background:#DDDDDD;font-weight:bold;text-align:
right;width:25%;vertical-align: middle;">&nbsp;&nbsp;origin&nbsp;</td>
<td style="background:#FFFFFF;text-align: left;">&nbsp;</td>
</tr>
<tr><td style="background:#DDDDDD;font-weight:bold;text-align:
right;width:25%;vertical-align: middle;">&nbsp;&nbsp;duplicate
ticket&nbsp;</td>
<td style="background:#FFFFFF;text-align: left;">&nbsp;</td>
</tr>
<tr><td style="background:#DDDDDD;font-weight:bold;text-align:
right;width:25%;vertical-align:
middle;">&nbsp;&nbsp;context&nbsp;</td>
<td style="background:#FFFFFF;text-align:
left;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
</tr>
<tr><td style="background:#DDDDDD;font-weight:bold;text-align:
right;width:25%;vertical-align:
middle;">&nbsp;&nbsp;product&nbsp;</td>
<td style="background:#FFFFFF;text-align: left;">&nbsp;</td>
</tr>
<tr><td style="background:#DDDDDD;font-weight:bold;text-align:
right;width:25%;vertical-align: middle;">&nbsp;&nbsp;original
version&nbsp;</td>
<td style="background:#FFFFFF;text-align: left;">&nbsp;</td>
</tr>
<tr><td style="background:#DDDDDD;font-weight:bold;text-align:
right;width:25%;vertical-align:
middle;">&nbsp;&nbsp;description&nbsp;</td>
<td style="background:#FFFFFF;text-align: left;">&nbsp;</td>
</tr>
<tr><td colspan="2" style="background:#555555;color: #FFFFFF;
text-align: center;font-size:10pt;font-weight:bold;">Treatment</td>
</tr>
<tr><td style="background:#DDDDDD;font-weight:bold;text-align:
right;width:25%;vertical-align: middle;">&nbsp;&nbsp;planning
activity&nbsp;</td>
<td style="background:#FFFFFF;text-align: left;">&nbsp;</td>
</tr>
<tr><td style="background:#DDDDDD;font-weight:bold;text-align:
right;width:25%;vertical-align: middle;">&nbsp;&nbsp;status&nbsp;</td>
<td style="background:#FFFFFF;text-align: left;">&nbsp;recorded</td>
</tr>
<tr><td style="background:#DDDDDD;font-weight:bold;text-align:
right;width:25%;vertical-align:
middle;">&nbsp;&nbsp;responsible&nbsp;</td>
<td style="background:#FFFFFF;text-align: left;">&nbsp;</td>
</tr>
<tr><td style="background:#DDDDDD;font-weight:bold;text-align:
right;width:25%;vertical-align:
middle;">&nbsp;&nbsp;criticality&nbsp;</td>
<td style="background:#FFFFFF;text-align: left;">&nbsp;</td>
</tr>
<tr><td style="background:#DDDDDD;font-weight:bold;text-align:
right;width:25%;vertical-align:
middle;">&nbsp;&nbsp;priority&nbsp;</td>
<td style="background:#FFFFFF;text-align: left;">&nbsp;</td>
</tr>
<tr><td style="background:#DDDDDD;font-weight:bold;text-align:
right;width:25%;vertical-align: middle;">&nbsp;&nbsp;initial due
date/time&nbsp;</td>
<td style="background:#FFFFFF;text-align: left;">&nbsp;</td>
</tr>
<tr><td style="background:#DDDDDD;font-weight:bold;text-align:
right;width:25%;vertical-align: middle;">&nbsp;&nbsp;actual due
date/time&nbsp;</td>
<td style="background:#FFFFFF;text-align: left;">&nbsp;</td>
</tr>
<tr><td style="background:#DDDDDD;font-weight:bold;text-align:
right;width:25%;vertical-align:
middle;">&nbsp;&nbsp;handled&nbsp;</td>
<td style="background:#FFFFFF;text-align: left;">&nbsp;<input
type="checkbox" disabled="disabled" />&nbsp;&nbsp;&nbsp;</td>
</tr>
<tr><td style="background:#DDDDDD;font-weight:bold;text-align:
right;width:25%;vertical-align: middle;">&nbsp;&nbsp;done&nbsp;</td>
<td style="background:#FFFFFF;text-align: left;">&nbsp;<input
type="checkbox" disabled="disabled" />&nbsp;&nbsp;&nbsp;</td>
</tr>
<tr><td style="background:#DDDDDD;font-weight:bold;text-align:
right;width:25%;vertical-align: middle;">&nbsp;&nbsp;closed&nbsp;</td>
<td style="background:#FFFFFF;text-align: left;">&nbsp;<input
type="checkbox" disabled="disabled" />&nbsp;&nbsp;&nbsp;</td>
</tr>
<tr><td style="background:#DDDDDD;font-weight:bold;text-align:
right;width:25%;vertical-align: middle;">&nbsp;&nbsp;target
version&nbsp;</td>
<td style="background:#FFFFFF;text-align: left;">&nbsp;</td>
</tr>
<tr><td style="background:#DDDDDD;font-weight:bold;text-align:
right;width:25%;vertical-align: middle;">&nbsp;&nbsp;result&nbsp;</td>
<td style="background:#FFFFFF;text-align: left;">&nbsp;</td>
</tr>
<tr><td colspan="2" style="background:#555555;color: #FFFFFF;
text-align: center;font-size:10pt;font-weight:bold;">Notes</td>
</tr>
</table>
<body>
</html>
2013-07-27 12:30:30
DEBUG
headers=MIME-Version: 1.0
Content-Type: text/html; charset=utf-8
From: *********@*****.**
Reply-To: *********@*****.**
Content-Transfer-Encoding: 8bit
X-Mailer: PHP/5.3.10
2013-07-27 12:30:31 ***** ERROR ***** ERROR *****
2013-07-27 12:30:31 ***** ERROR ***** on file 'C:\wamp\www\pr\tool\projector.php' at line (855)
2013-07-27 12:30:31 ***** ERROR ***** cause = mail() [<a href='function.mail'>function.mail</a>]: Failed to Receive
2013-07-27 12:30:31
DEBUG
resultMail=
2013-07-27 12:30:31 ***** ERROR ***** Error sending mail
2013-07-27 12:30:31 ***** ERROR ***** SMTP Server : smtp.*********.tn
2013-07-27 12:30:31 ***** ERROR ***** SMTP Port : 25
2013-07-27 12:30:31 ***** ERROR ***** Sendmail path :
2013-07-27 12:30:31 ***** ERROR ***** Mail stored in Database : #8

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

Moderators: babynusprotion
Time to create page: 0.056 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.