Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

configuration d'env...
 
Notifications
Clear all

configuration d'envoi émail

48 Posts
3 Users
0 Reactions
162.5 K Views
ameur
(@timoumi)
Posts: 32
Active Member
Topic starter
 
[#1279]

Bonjour
j'i essayé de configurer l'envoi d'émail dans la rubrique paramètres globaux, mais les testes d'envoi sont toujours négatifs, merci de m'envoyer un exemple complet de configuration des champs nécessaires(gmail, yahoo, topnet tunisie ...)


 
Posted : 23 Jul 2013 4H41
Klaus
(@climb4fun)
Posts: 449
Contributor
 

Hi timoumi,

unfortunately in French, but I assume, it's the same topic as you posted in you other contributions.

Please post in English and a lot more people are able to support you :whistle:

Regards,

Klaus


 
Posted : 23 Jul 2013 11H26
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Hi,

It is clear : without any smtp host defined, you won't be able to send a mail.
Several configuration are proposed in the user manual :
http://track.projectorria.org/manual/manual.php?page=179&tag=


 
Posted : 23 Jul 2013 12H08
ameur
(@timoumi)
Posts: 32
Active Member
Topic starter
 

not work 🙁
Server

log file :
2013-07-23 10:10:37 ** ERROR ** on file '/home/***//project/tool/projector.php' at line (644)
2013-07-23 10:10:37
** ERROR ***** cause = fsockopen() [function.fsockopen]: unable to connect to to ssl://smtp.gmail.com:465 (Connection timed out)


 
Posted : 23 Jul 2013 12H16
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

too bad 👿


 
Posted : 23 Jul 2013 12H27
ameur
(@timoumi)
Posts: 32
Active Member
Topic starter
 

HELP ME !!!! :blink:


 
Posted : 23 Jul 2013 13H18
Klaus
(@climb4fun)
Posts: 449
Contributor
 

Ask your web hoster to open fsocked - seeing your error message it seems to be disabled.
Or change webhoster with opened fsocked.


 
Posted : 23 Jul 2013 13H53
ameur
(@timoumi)
Posts: 32
Active Member
Topic starter
 

I use xampp windows on Localhost 🙁

I use other open source tools as dolibarr to sending mail, it's work without problems :S


 
Posted : 23 Jul 2013 14H51
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

So it is most likely that configuring Project'Or RIA the same way will work.


 
Posted : 23 Jul 2013 23H32
ameur
(@timoumi)
Posts: 32
Active Member
Topic starter
 

:angry:


 
Posted : 24 Jul 2013 2H52
ameur
(@timoumi)
Posts: 32
Active Member
Topic starter
 

Finally , it's wwork
i changed to wamp server
Thnkx project'or ria forum :p


 
Posted : 24 Jul 2013 3H18
ameur
(@timoumi)
Posts: 32
Active Member
Topic starter
 

🙂 good to send mail to user " account information" that I changed option php.ini "mail.add_x_header" to ON

but i can't send mail from project, ticket ... 🙁


 
Posted : 24 Jul 2013 3H22
Klaus
(@climb4fun)
Posts: 449
Contributor
 

You can change text in "Global parameters"? Or isn't this, what's your issue?


 
Posted : 24 Jul 2013 13H22
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Do you have any error or warning in the log file ?


 
Posted : 24 Jul 2013 14H27
ameur
(@timoumi)
Posts: 32
Active Member
Topic starter
 

Yes I have:"Project'Or RIA V3.3.2 "
Error when I try to send mail on project module,

log file :

2013-07-24 12:13:30 ** ERROR ** ERROR **
2013-07-24 12:13:30
** ERROR ** on file 'C:wampwwwprojettoolprojector.php' at line (649)
2013-07-24 12:13:30
** ERROR ** cause = mail() [function.mail]: Failed to Receive
2013-07-24 12:13:30
** ERROR ** Error sending mail
2013-07-24 12:13:30
** ERROR ** SMTP Server : smtp.topnet.tn
2013-07-24 12:13:30
** ERROR ** SMTP Port : 25
2013-07-24 12:13:30
** ERROR ** Sendmail path :
2013-07-24 12:13:30
** ERROR ** Mail stored in Database : #2
.
.
.
.
.
2013-07-24 14:47:29
** ERROR ** ERROR **
2013-07-24 14:47:29 ** ERROR ** on file 'C:wampwwwprojettoolprojector.php' at line (649)
2013-07-24 14:47:29 ** ERROR ** cause = mail() [function.mail]: SMTP server response: 451 See http://pobox.com/~djb/docs/smtplf.html.
2013-07-24 14:47:29 ** ERROR ** Error sending mail
2013-07-24 14:47:29 ** ERROR ** SMTP Server : smtp.topnet.tn
2013-07-24 14:47:29 ** ERROR ** SMTP Port : 25
2013-07-24 14:47:29 ** ERROR ** Sendmail path :
2013-07-24 14:47:29 ** ERROR ** Mail stored in Database : #4


 
Posted : 24 Jul 2013 14H35
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

1) Check that the project manager has a correct email address.
Pay attention : project manager is the resource designed as manager on the project.

2) Try and change the "end of line format for mail" in the global parameters screen.
If your mail server uses postfix with version < 2.1 it will fix the issue.
It may also work in some other cases.


 
Posted : 24 Jul 2013 17H26
ameur
(@timoumi)
Posts: 32
Active Member
Topic starter
 

Not Ok !!!
By using this configuration, i couldn't sent mail on project informations but i can send mails for users informations.
help me please.


 
Posted : 25 Jul 2013 3H49
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Sorry, but not Ok !!! is not a convenient answer. :angry:
If you wish to get some help, please describe your issue as detailed as possible.
Please answer the two previous questions one by one.
If possible also provide a print screen to detail each answer.

Here is a third question :
3) Can you try another mail receiver.
For instance, try "other" and enter an email you are sure must work.


 
Posted : 25 Jul 2013 13H38
ameur
(@timoumi)
Posts: 32
Active Member
Topic starter
 

Dear babynus

sent to the users is ok, but the error is when I try to send the project information by email. 🙁
Thank y for help me.


 
Posted : 26 Jul 2013 1H49
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Please try and reply to questions one by one :

1) Check that the project manager has a correct email address.
Pay attention : project manager is the resource designed as manager on the project.

2) Try and change the "end of line format for mail" in the global parameters screen.
If your mail server uses postfix with version 3 questions => you should provide 3 answers

You cannot get help if you don't give information. 👿


 
Posted : 26 Jul 2013 2H21
ameur
(@timoumi)
Posts: 32
Active Member
Topic starter
 

:woohoo:
1- the project manager has a correct email address (my personel address).
2- I changed the "end of line format for mail" in the global parameters screen.
3- I try other mail on other domain(gmail, yahoo),
===> but always there is an ERROR when sending mail

LOG file:
2013-07-26 00:53:46 ===== TRACE ===== sendMailAnonymous
2013-07-26 00:53:47 ** ERROR ** ERROR **
2013-07-26 00:53:47
** ERROR ** on file 'C:wampwwwprotoolprojector.php' at line (877)
2013-07-26 00:53:47
** ERROR ** cause = mail() [function.mail]: Failed to Receive
2013-07-26 00:53:47
** ERROR ** Error sending mail
2013-07-26 00:53:47
** ERROR ** SMTP Server : smtp.topnet.tn
2013-07-26 00:53:47
** ERROR ** SMTP Port : 25
2013-07-26 00:53:47
** ERROR ** Sendmail path :
2013-07-26 00:53:47
** ERROR ***** Mail stored in Database : #11


 
Posted : 26 Jul 2013 2H57
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

The error message looks like you cannot reach the smtp server.
In may be because this server does not allow access on default port 25, or does not allow anonymous connections.
But what is very strange is that you say that you can send mails through user screen, as it uses the same code.

To understand, please modify /tool/projector.php this way :
change line 649 :

$resultMail=mail($to,$title,$message,$headers);

to :

debugLog("mail()");
debugLog("to=$to");
debugLog("title=$title");
debugLog("message=$message");
debugLog("headers=$headers");
$resultMail=mail($to,$title,$message,$headers);
debugLog("resultMail=$resultMail");

Then try to send 2 mails :
First from user (should work).
Second from project (should fail).
You should get some debug traced in the log file.
Please post them here (you may mask emails adresses for confidentiality).


 
Posted : 26 Jul 2013 21H44
ameur
(@timoumi)
Posts: 32
Active Member
Topic starter
 

Exactly is what you tell me, the second essay does not work to send mail from project module.
🙁 I use the 3.4.0 version of proect'or ria
this is the log file:

2013-07-27 00:04:05 ===== TRACE ===== sendMailAnonymous
2013-07-27 00:05:16 ===== TRACE ===== sendMailAnonymous
2013-07-27 00:05:17 ** ERROR ** ERROR **
2013-07-27 00:05:17
** ERROR ** on file 'C:wampwwwprotoolprojector.php' at line (883)
2013-07-27 00:05:17
** ERROR ** cause = mail() [function.mail]: SMTP server response: 451 See http://pobox.com/~djb/docs/smtplf.html.
2013-07-27 00:05:17
** ERROR ** Error sending mail
2013-07-27 00:05:17
** ERROR ** SMTP Server : smtp.topnet.tn
2013-07-27 00:05:17
** ERROR ** SMTP Port : 25
2013-07-27 00:05:17
** ERROR ** Sendmail path :
2013-07-27 00:05:17
** ERROR ***** Mail stored in Database : #14


 
Posted : 27 Jul 2013 2H14
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Hi,

The log is not as expected.
I expect some debug traces.
Maybe you should set logLevel to 3 in parameters.php

$logLevel='3';

Thne try again and post log result.


 
Posted : 27 Jul 2013 2H23
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

In addition Error reported now is

451 - The command has been aborted due to a server error. Not your fault. Maybe let the admin know.

It is generally reported when end of line is not correct.
You should return to default rn


 
Posted : 27 Jul 2013 2H27
Page 1 / 2
Share:

Scroll to Top