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.

Email : Message bod...
 
Notifications
Clear all

Email : Message body empty

9 Posts
3 Users
0 Reactions
8,010 Views
(@lmlm)
Posts: 8
Active Member
Topic starter
 
[#3969]

Hello,
I am new user of Projeqtor (previous: dotproject).
I have right install and think well config.
Our web site is host by OVH (Apache 1.3, PHP Version 5.6.21)

I've got a difficulty with mail. I clic on "Send information to user" send their login/password by mail and I got error message : "Not able to send mail to 'ww@yy' ask admin.
In the log i have :
2016-12-25 20:37:23.179 ** ERROR ** Error sending mail
2016-12-25 20:37:23.181 ** ERROR ** SMTP Server : smtp.yy.fr
2016-12-25 20:37:23.182 ** ERROR ** SMTP Port : 587
2016-12-25 20:37:23.183 ** ERROR ** Mail stored in Database : #20
2016-12-25 20:37:23.183 ** ERROR ** PHPMail error : Message body empty
2016-12-25 20:37:23.184 ** ERROR ** PHPMail debug :

So mail was not sent, in the windows "Email sent", the sent statut is "error" (see png joined)

BUT I received a mail when I have create and assight an activity by request to sent a mail to requestor ....

I searched in yours forum, test to modify parameters.php : $paramMailerType='mail';

Config Emailing

email of administrator : myemail
'from' email when sending mails : myemail
'reply to' email when sending mails : myemail
name of sender and reply to : My name
smtp server : smtp.yyy.fr
smtp port : 587
smtp login name : myemail
smtp login password : password
end of line format for mail : default format (rn)
sendmail path : empty

I found any way to solve this mail error.
If someone have idea


 
Posted : 25 Dec 2016 23H08
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Did you look in projeqtor log file to see if any error is reported ?


 
Posted : 26 Dec 2016 2H09
(@lmlm)
Posts: 8
Active Member
Topic starter
 

Thank you for answer
Yes I do
I dont find anything except that the Messagebody is empty
I attach the 1st log (modified on my domain)


 
Posted : 26 Dec 2016 12H53
(@lmlm)
Posts: 8
Active Member
Topic starter
 

Log file


 
Posted : 26 Dec 2016 12H54
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Hi,

Right, no issue about email generation.
Could you please post content of table email ?

NB : you have acces rights issue on directory /home/isn/www/projeqtor/model/


 
Posted : 26 Dec 2016 13H14
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Check Global parameters for parameter "body of mail to user ".
It should not be empty.
Default value is

You are welcome to ${dbName} at ${url}.
Your login is ${login}.
Your password is initialized to ${password}
You will have to change it on first connection.

In case of an issue contact your administrator at ${adminMail}.


 
Posted : 26 Dec 2016 13H44
(@lmlm)
Posts: 8
Active Member
Topic starter
 

SOLVE
I have report code to body mail user and it correct, we receive mail when we add anuser

Thanks


 
Posted : 26 Dec 2016 13H57
 soso
(@slim785)
Posts: 7
Active Member
 

 
Posted : 19 Jul 2018 18H55
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

What is your problem slim785 ?


 
Posted : 19 Jul 2018 19H41
Share:

Scroll to Top