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.

