View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Error when sending mail - ProjeQtOr
 
 

Error when sending mail

More
23 Dec 2013 15:57 - 23 Dec 2013 15:59 #1 by sa
Error when sending mail was created by sa
Hello,

since the upgrade of my installation from 3.4.4 to 4.0.6, i don't have notification and all my email are note send(they are in error).

I join the log error, can your please Help me.

Best regards

the error log:
....external/PHPMailer/class.smtp.php' at line (218)
2013-12-23 15:39:16 ***** ERROR ***** cause = stream_socket_client(): unable to connect to auth.smtp.1and1.fr:587 (Connection timed out)
2013-12-23 15:39:16 ***** ERROR ***** Error sending mail
2013-12-23 15:39:16 ***** ERROR ***** SMTP Server : auth.smtp.1and1.fr
2013-12-23 15:39:16 ***** ERROR ***** SMTP Port : 587
2013-12-23 15:39:16 ***** ERROR ***** Mail stored in Database : #3805
2013-12-23 15:39:16 ***** ERROR ***** PHPMail error : SMTP connect() failed.
2013-12-23 15:39:16 ***** ERROR ***** PHPMail debug : <span class="messageERROR" >ERROR : Impossible to load class SMTP<br/> => Not found in ../model/SMTP.php <br/> => Not found in ../model/persistence/SMTP.php <br/></span><input type="hidden" id="lastSaveId" value="" /><input type="hidden" id="lastOperation" value="ERROR" /><input type="hidden" id="lastOperationStatus" value="ERROR" />
Last edit: 23 Dec 2013 15:59 by sa.

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

More
24 Dec 2013 19:02 #2 by babynus
Replied by babynus on topic Error when sending mail
Hi,

The error message is about class not being loaded.

It seems you have issue with spl_autoload_register function...
Which version of PHP are you using ?

If you are using PHP 5.2 :
Can you check that last line of /external/PHPMailer/PHPMailerAutoload.php ends with line :
spl_autoload_register('PHPMailerAutoload', true);
only 2 prameters for the funcrion.

If yourun PHP 5.3 or over :
Can you try to replace last line of /external/PHPMailer/PHPMailerAutoload.php with line :
spl_autoload_register('PHPMailerAutoload', true, true);
(add third parameter).

Babynus
Administrator of ProjeQtOr web site

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

More
24 Dec 2013 22:58 #3 by sa
Replied by sa on topic Error when sending mail
Hello

I use php 5.4, i add the third parameter.
I always get the error.
the log is:
2013-12-24 22:37:28 ***** ERROR ***** on file '../external/PHPMailer/class.smtp.php' at line (218)
2013-12-24 22:37:28 ***** ERROR ***** cause = stream_socket_client(): unable to connect to auth.smtp.1and1.fr:25 (Connection timed out)
2013-12-24 22:37:28 ***** ERROR ***** Error sending mail
2013-12-24 22:37:28 ***** ERROR ***** SMTP Server : auth.smtp.1and1.fr
2013-12-24 22:37:28 ***** ERROR ***** SMTP Port : 25
2013-12-24 22:37:28 ***** ERROR ***** Mail stored in Database : #3812
2013-12-24 22:37:28 ***** ERROR ***** PHPMail error : SMTP connect() failed.
2013-12-24 22:37:28 ***** ERROR ***** PHPMail debug :

Best regards.

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

More
25 Dec 2013 15:32 #4 by babynus
Replied by babynus on topic Error when sending mail
Hi,

Here is logged a connection with port 25.
It was port 587 on previous log.

I guess it should be port 587 (port 25 is generally used for not authentified connections)
Could you check your credentials, and their validity : maybe several unsuccessfull tries locked the account.

Babynus
Administrator of ProjeQtOr web site

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

More
25 Dec 2013 16:56 #5 by sa
Replied by sa on topic Error when sending mail
I tested with port 25 and port 587, and i have the same error.
with V3.4.4, i used port 25 and the emails are sent. Only with the new version i have the error.

I change my configuration to set gmail.com, and i have the same error.

Is it a problem of password?

the password is written in plain text in the menu settings globlaes, maybe it is encrypted in the database.
When the connection to the SMTP server, the password remains encrypted and the connection is impossible due to the wrong password sent

Best regards.

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

More
25 Dec 2013 18:53 - 25 Dec 2013 18:56 #6 by babynus
Replied by babynus on topic Error when sending mail
Hi,

If you use an anthentified connection, maybe the protocole should be specified.
Defaut protocole is TLS, but you can specify SSL : just add protocole before host :
ssl://auth.smtp.1and1.fr

Babynus
Administrator of ProjeQtOr web site
Last edit: 25 Dec 2013 18:56 by babynus.

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

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