View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Supportez nous sur Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Sending mail - ProjeQtOr

Prochaines Sessions

Les prochaines formations et démonstrations sont ouvertes, inscrivez-vous rapidement !

 

Démonstration de ProjeQtOr

(gratuit, sur inscription)
 

13 mai 2025 (10h30-12h)

5 juin 2025 (16h-17h30)

 
 

Planifiez avec ProjeQtOr

14 et 15 mai 2025 (9h-12h30)

18 et 19 juin 2025 (9h-12h30)

 
 

Administrez avec ProjeQtOr

20 et 21 mai (9h-12h30)

25 et 26 juin (9h-12h30)

 

 

 

Sending mail

More
04 Déc 2013 16:09 #1 by azizknina
Sending mail was created by azizknina
Hi,

I'm using projeqtor V4.0.05.

I have setup the tool in order to send emails with smtp authentication, this don't work since we use ssl.

The issue is coming from the file projector/tool/projector.php at line 697 where there is a hard code of the variable $SMTPSecure to 'tls';

I have modified to 'ssl' in my case, withoiut changing any other parameter and then the tool could send emails.

Since there no parameter to specify wheter to use ssl or tls, I suggest to add a parameter for this.

Regards,
Aziz

Please Connexion or Create an account to join the conversation.

More
04 Déc 2013 16:17 #2 by babynus
Replied by babynus on topic Sending mail
Yes, default is TLS.
But you may specify another protocole in the host name : ssl://myhost will work.
This is the code just below line 697 in projector.php.

This is also explian in the online manual.
RTFM :evil:

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

More
04 Déc 2013 17:45 - 04 Déc 2013 17:45 #3 by azizknina
Replied by azizknina on topic Sending mail
I have tried to setup the field server in the global parameters to ssl://xx.xx.xx.xx, but the mail was not sent, until I fixed this in the file projector.php.

here below the log of sending the email:
2013-12-04 16:39:51 ***** ERROR ***** Error sending mail
2013-12-04 16:39:51 ***** ERROR ***** SMTP Server : xx.xx.xx.xx
2013-12-04 16:39:51 ***** ERROR ***** SMTP Port : 465
2013-12-04 16:39:51 ***** ERROR ***** Mail stored in Database : #440
2013-12-04 16:39:51 ***** ERROR ***** PHPMail error : SMTP connect() failed.
2013-12-04 16:39:51 ***** ERROR ***** PHPMail debug : 2013-12-04 16:39:51 SERVER -> CLIENT:
2013-12-04 16:39:51 CLIENT -> SERVER: EHLO localhost
2013-12-04 16:39:51 SERVER -> CLIENT:
2013-12-04 16:39:51 SMTP ERROR: EHLO command failed:
2013-12-04 16:39:51 SMTP NOTICE: EOF caught while checking if connected
SMTP connect() failed.

Regards,
Aziz
Last edit: 04 Déc 2013 17:45 by azizknina.

Please Connexion or Create an account to join the conversation.

More
04 Déc 2013 23:32 #4 by babynus
Replied by babynus on topic Sending mail
Very weird as it works for me and code is really explicit.

It works really fine with ssl://smtp.gmail.com, on port 465.
Are you sure you correctly defined the host with ssl:// (double slash) ?

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

More
05 Déc 2013 12:49 #5 by azizknina
Replied by azizknina on topic Sending mail
Hi,

Here attached a screen shot of the global parameters and the log of the send email operation.

Regards,
Aziz
Attachments:

Please Connexion or Create an account to join the conversation.

More
05 Déc 2013 13:18 #6 by babynus
Replied by babynus on topic Sending mail
Are you sure your login name should contain your domain name ?
When I connect to gmail smtp server I must not provide domain name in the account name.

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.061 seconds

Paramétrages de cookies

×

Cookies fonctionnels

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

Veuillez vous connecter pour voir vos activités!

Autres cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.