Forum

send mail not work ...
 
Notifications
Retirer tout

send mail not work after upgrade to V5.0.0

22 Posts
3 Utilisateurs
0 Reactions
21.4 K Vu
 Anis
(@anisdz2015)
Posts: 24
Eminent Member
Début du sujet
 
[#2371]

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 :

--------------------------------


 
Posté : 17/06/2015 6:46 pm
 Anis
(@anisdz2015)
Posts: 24
Eminent Member
Début du sujet
 

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 :


 
Posté : 17/06/2015 7:15 pm
(@babynus)
Posts: 14952
Membre Admin
 

It seems OpenSSL is not enabled on your PHP server.
Could you check ?


 
Posté : 17/06/2015 7:27 pm
 Anis
(@anisdz2015)
Posts: 24
Eminent Member
Début du sujet
 

how to check it can you give commande or file to check


 
Posté : 17/06/2015 7:44 pm
 Anis
(@anisdz2015)
Posts: 24
Eminent Member
Début du sujet
 

#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


 
Posté : 17/06/2015 7:47 pm
(@babynus)
Posts: 14952
Membre Admin
 

Strange...

From wich version did you migrate ?
(there was no change on V5 on this side)


 
Posté : 17/06/2015 8:04 pm
 Anis
(@anisdz2015)
Posts: 24
Eminent Member
Début du sujet
 

its worked fine with 4.7.0 but now with V5.0.0 erreur


 
Posté : 17/06/2015 8:09 pm
(@babynus)
Posts: 14952
Membre Admin
 

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) ?


 
Posté : 17/06/2015 9:02 pm
 Anis
(@anisdz2015)
Posts: 24
Eminent Member
Début du sujet
 

yes, it's an upgrade on same server, to same smtp, for same instance (same deployment directory)


 
Posté : 19/06/2015 12:51 pm
(@mboelke)
Posts: 6
Active Member
 

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


 
Posté : 19/06/2015 1:38 pm
(@babynus)
Posts: 14952
Membre Admin
 

@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 ?


 
Posté : 19/06/2015 1:50 pm
 Anis
(@anisdz2015)
Posts: 24
Eminent Member
Début du sujet
 

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


 
Posté : 20/06/2015 11:00 pm
(@babynus)
Posts: 14952
Membre Admin
 

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.


 
Posté : 20/06/2015 11:14 pm
(@babynus)
Posts: 14952
Membre Admin
 

For information, I change type of message so that in latest described cases, non error is generated, just a warning.


 
Posté : 20/06/2015 11:40 pm
 Anis
(@anisdz2015)
Posts: 24
Eminent Member
Début du sujet
 

Hello,

I made all possible tests, the same error message when sending is done manually, I even tested sending meeting invitation
see snapshots


 
Posté : 23/06/2015 6:19 pm
Page 1 / 2
Share:
Retour en haut