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.
Hello,
can you plz help me to solve this, email notifications not work after projeqtor upgraded to V5.0.0 ...
LOG:
-------------
2015-06-17 14:06:18.264 ** ERROR ** ERROR **
2015-06-17 14:06:18.264 ** ERROR ** on file '/var/www/html/projeqtor/external/PHPMailer/class.smtp.php' at line (803)
2015-06-17 14:06:18.264 ** ERROR ** cause = fwrite(): send of 16 bytes failed with errno=32 Broken pipe
2015-06-17 14:06:18.265 ** ERROR ** Error sending mail
2015-06-17 14:06:18.265 ** ERROR ** SMTP Server : mail.xxxxx.dn
2015-06-17 14:06:18.265 ** ERROR ** SMTP Port : 587
2015-06-17 14:06:18.265 ** ERROR ** Mail stored in Database : #648
2015-06-17 14:06:18.265 ** ERROR ** PHPMail error : SMTP connect() failed.
2015-06-17 14:06:18.265 ** ERROR ***** PHPMail debug :
--------------------------------
Log = 8
2015-06-17 16:10:57.261 ** ERROR ** ERROR **
2015-06-17 16:10:57.261 ** ERROR ** on file '/var/www/html/projeqtor/external/PHPMailer/class.smtp.php' at line (218)
2015-06-17 16:10:57.261 ** ERROR ** cause = stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
2015-06-17 16:10:57.261 ** ERROR ** ERROR **
2015-06-17 16:10:57.261 ** ERROR ** on file '/var/www/html/projeqtor/external/PHPMailer/class.smtp.php' at line (218)
2015-06-17 16:10:57.261 ** ERROR ** cause = stream_socket_client(): Failed to enable crypto
2015-06-17 16:10:57.261 ** ERROR ** ERROR **
2015-06-17 16:10:57.261 ** ERROR ** on file '/var/www/html/projeqtor/external/PHPMailer/class.smtp.php' at line (218)
2015-06-17 16:10:57.261 ** ERROR ** cause = stream_socket_client(): unable to connect to ssl://mail.xxxx.dn:587 (Unknown error)
2015-06-17 16:10:57.262 ** ERROR ** Error sending mail
2015-06-17 16:10:57.262 ** ERROR ** SMTP Server : ssl://mail.xxxx.dn
2015-06-17 16:10:57.262 ** ERROR ** SMTP Port : 587
2015-06-17 16:10:57.262 ** ERROR ** Mail stored in Database : #660
2015-06-17 16:10:57.262 ** ERROR ** PHPMail error : SMTP connect() failed.
2015-06-17 16:10:57.262 ** ERROR ***** PHPMail debug :
It seems OpenSSL is not enabled on your PHP server.
Could you check ?
how to check it can you give commande or file to check
#php -i |grep -A 5 openssl
résultat:
--
openssl
OpenSSL support => enabled
OpenSSL Library Version => OpenSSL 1.0.1e-fips 11 Feb 2013
OpenSSL Header Version => OpenSSL 1.0.1e-fips 11 Feb 2013
Strange...
From wich version did you migrate ?
(there was no change on V5 on this side)
its worked fine with 4.7.0 but now with V5.0.0 erreur
If you used V4.7.0, you may have got it from out of ProjeQtOr site :huh:
as it never existed.
Maybe you meant V4.5.7. 😉
Is it really an upgrade on same server, to same smtp, for same instance (same deployment directory) ?
yes, it's an upgrade on same server, to same smtp, for same instance (same deployment directory)
Helo,
I had a similar problem when upgrading from 4.5.6 to 5.0.0!
Following steps solved the problem:
First I've cleaned all configuration fields in the mailing section, saved and added them again.
Please don't be angry, if it doesn't help 😉
Regards
Mathias
@mboelke : tanks for this workaround, it may help anisdz2015, and give me hint to investigate.
@anisdz2015 : could you check and tell me if this also solves the issue for you ?
hello
I just realized that yesterday I received a notification from the Alert projeqtor server with 5.0.0 there is a notification sent by programmed projeqtor
Otherwise when I try to manually send an email that does not work and I have a message that asks me to contact the administrator
I'll test the hint of mboelke and tell
thank you
When you send email manually, do you selected receivers and/or enter specific email address ?
And are you sure your received have an email address ?
If no receiver can be defined, you will get message "Not able to send mail to '', Contact your administrator".
But this is not a technical issue, just a warning that no email is sent.
Note that this can also happen if you select a receiver.
For instance, if you select "Responsible" as receiver, but no resposible is defined for the item, no email can be sent.
The same if responsible is set but the corresponding resource has no eamil defined.
For information, I change type of message so that in latest described cases, non error is generated, just a warning.
... and email is working when generating alerts ?
... very strange.
Could you check email for special characters, others than @.
Maybe you can also try and send email to single address (your own for instance)
Hello,
I tested with a single email and it is the same error message
I just saw that I did not receive all the emails sent by project yesterday at 00:00
View Screenshot
I will do another test I will change SMTP server to be sure it is not the mail server that kidding and I will inform you
What is strange is that some emails are correctly sent.
Not all fail.
So I would bet on SMTP server or more possibly some network issue (possibly some proxy playing with connections)
after test with hostinger.fr smtp server
Logs:
---------------------------------
2015-06-24 16:15:42.269 ** ERROR ** Error sending mail
2015-06-24 16:15:42.269 ** ERROR ** SMTP Server : mx1.hostinger.fr
2015-06-24 16:15:42.269 ** ERROR ** SMTP Port : 25
2015-06-24 16:15:42.270 ** ERROR ** Mail stored in Database : #713
2015-06-24 16:15:42.270 ** ERROR ** PHPMail error : SMTP Error: The following recipients failed: cxxxmail@gmail.com
2015-06-24 16:15:42.270 ** ERROR ** PHPMail debug :
2015-06-24 16:15:48.869 ..... SCRIPT .... 10.xxx.xx.xx4 /view/objectDetail.php
2015-06-24 16:15:48.870 ..... SCRIPT .... 10.xxx.xx.xx4 Page=objectDetail.php
2015-06-24 16:15:48.914 ..... SCRIPT .... 10.xxx.xx.xx4 ->/view/objectDetail.php
2015-06-24 16:15:48.928 ..... SCRIPT .... 10.xxx.xx.xx4 ->/view/objectButton.php
2015-06-24 16:15:48.937 ..... SCRIPT .... 10.xxx.xx.xx4 ->/tool/getObjectCreationInfo.php
2015-06-24 16:15:48.962 ..... SCRIPT .... 10.xxx.xx.xx4 drawTableFromObject(obj, included=, parentReadOnly=)
2015-06-24 16:15:49.089 ..... SCRIPT .... 10.xxx.xx.xx4 drawTableFromObject(obj, included=1, parentReadOnly=)
2015-06-24 16:15:59.238 ..... SCRIPT .... 10.xxx.xx.xx4 /tool/sendMail.php
2015-06-24 16:15:59.239 ..... SCRIPT .... 10.xxx.xx.xx4 Page=sendMail.php
2015-06-24 16:15:59.280 ..... SCRIPT .... 10.xxx.xx.xx4 ->/tool/sendMail.php
2015-06-24 16:15:59.358 ..... SCRIPT .... 10.xxx.xx.xx4 sendMail_phpmailer
2015-06-24 16:16:00.585 ** ERROR ** Error sending mail
2015-06-24 16:16:00.585 ** ERROR ** SMTP Server : mx1.hostinger.fr
2015-06-24 16:16:00.585 ** ERROR ** SMTP Port : 25
2015-06-24 16:16:00.585 ** ERROR ** Mail stored in Database : #714
2015-06-24 16:16:00.585 ** ERROR ** PHPMail error : SMTP Error: The following recipients failed: pxxxmo@gmail.com
2015-06-24 16:16:00.585 ** ERROR ** PHPMail debug :
2015-06-24 16:16:26.285 ..... SCRIPT .... 10.xxx.xx.xx4 Page=checkAlertToDisplay.php
2015-06-24 16:17:26.423 ..... SCRIPT .... 10.xxx.xx.xx4 Page=checkAlertToDisplay.php
----------------------------------
Firewall ok mx1.hostinger.fr port 25
It is not a connection error, the smtp server responds.
The mail server just refuses to send to emails to the recipients.
Maybe it is an anti spam functionality of the smtp hosted server.
hello
mail notification work fine with projeqtor V5.0.1
Thanks for all
Stange as there was no change about email notification on this patch.
Maybe it was some deployment issue fixed by new installation...
Anyway, happy to know your problem is solved.




