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 - Page 2 - ProjeQtOr
 
 

Error when sending mail

More
25 Dec 2013 19:55 #7 by sa
Replied by sa on topic Error when sending mail
I add ssl but the email is still in error
2013-12-25 19:49:37 ***** ERROR ***** cause = stream_socket_client(): unable to connect to ssl://auth.smtp.1and1.fr:587 (Connection timed out)
2013-12-25 19:49:37 ***** ERROR ***** Error sending mail
2013-12-25 19:49:37 ***** ERROR ***** SMTP Server : ssl://auth.smtp.1and1.fr
2013-12-25 19:49:37 ***** ERROR ***** SMTP Port : 587
2013-12-25 19:49:37 ***** ERROR ***** Mail stored in Database : #3830
2013-12-25 19:49:37 ***** ERROR ***** PHPMail error : SMTP connect() failed.
2013-12-25 19:49:37 ***** ERROR ***** PHPMail debug :

i create a simple php programme to send mail with my adresse and it is working well. I ask 1and1 if the email adress is blocked, they confirmed that it is ok for them.

I try withe smtp.gmail.com with my personnal adress and it is not working.
:-(

Thx

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

More
25 Dec 2013 21:49 #8 by babynus
Replied by babynus on topic Error when sending mail
There must be a misconfiguration either in the global parameters screen, or in PHP server or in server hosting, or in firewalls.

Here is the sample of my own Gmail configutaiton that works fine :


also check for ssl enabling in your php config.

Babynus
Administrator of ProjeQtOr web site
Attachments:

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

More
29 Dec 2013 18:41 #9 by sa
Replied by sa on topic Error when sending mail
Hello

First, think you for your help.

I tried to set gmail smtp server but i have the same error.

Finally, i create a php class to test phpmailer, installed in external/phpmailer and it is not working.


I asked the support of 1and1, but for them it is not caused by their smtp server. They send me a php program with mail(....) fonction and it is ok.

I am blocked, is it possible to get the same fonction as the V3.4.4 so i can replace the new code with the last one(only for sending emails).

Best regards.

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

More
29 Dec 2013 19:35 - 29 Dec 2013 19:38 #10 by babynus
Replied by babynus on topic Error when sending mail

is it possible to get the same fonction as the V3.4.4 so i can replace the new code with the last one(only for sending emails).

Yes, easy !!!
(I should have proposed it sooner :blush: )

Just add in your parameters.php file :
$paramMailerType='mail';
for old style not authentified mail connection

or
$paramMailerType='socket';
for old style authentified mail connection

Babynus
Administrator of ProjeQtOr web site
Last edit: 29 Dec 2013 19:38 by babynus.

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

More
29 Dec 2013 20:23 - 29 Dec 2013 20:40 #11 by sa
Replied by sa on topic Error when sending mail
I added the line but it does not work :-(
I search where the sending email is called and I uncomment the line 631 in the file projeqtor.php.

in the screen of the mail sent, it is ok but in the log it is not ok...

:-(
Last edit: 29 Dec 2013 20:40 by sa.

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

More
29 Dec 2013 23:10 #12 by babynus
Replied by babynus on topic Error when sending mail
Hi,

You're right !!!

You could get same behaviour with parameter added in parameters.php and replacing line 631 in projectror.php with :
$paramMailerType=Parameter::getGlobalParameter('paramMailerType');
(the parametering was not complete)

This is included for next version, so that if you add parameter in parameters.php, you won't have to bother with code update during next upgrade.

Babynus
Administrator of ProjeQtOr web site

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

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