You are not logged in.
Under setup -> Notifications -> Configuration, I have 'way of sending emails' set to PHP. Clicking on the 'send a test email to the administrator' works just fine. Nothing else sends emails.
For instance, if I go to a ticket and try to send a validation request I get an 'Error in sending the email Could not instantiate mail function." The validation request is going to the same mail account that had no problem receiving the test email from the configuration page.
Has anybody seen this? Is there a fix?
Offline
bump
Offline
bump
Offline
Bump.
Nobody had any problems with the new version not emailing anymore?
As stated the 'send test email' link on the mail configuration page works, but when the system tries to send an email you get the error message.
Offline
Hello,
I can confirm that after upgrade not all mail notifications are working.
At least "Technician in charge of the ticket" is not receiving mails.
I've tested it also with completely fresh installation and the same.
Offline
Me too, after the update to 0.80 all the users with "post-only/standard interface" can't choose if enable the email notification for followup, and after the update the flag is set to "no" for default... for now we've set the "post-only/semplified interface" for all the users, but we'd like to use the standard interface.
Offline
Hello again,
in new version 0.80.1 still the same problem.
Some fix or patch is planned for this ?
Offline
Bump.
Is there a bug reporting mechanism to post this under?
Offline
For the issue of the technician not getting an email, take a look at this post.
http://www.glpi-project.org/forum/viewt … p?id=24637
The code posted appears to reference revision 14810 in Redmine.
https://forge.indepnet.net/projects/glp … ions/14810
Offline
This fix was include in 0.80.1 vesion.
abdon : do you have logs or errors in debug mode ?
MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI : Support Contribute References Freshmeat
Offline
Sorry for the delay, been busy working other issues.
I applied the /inc/ticket_user.class.php patch, it didn't fix the problem. The only email that goes out is when I go to 'Setup' -> 'Notifications' -> 'Alert and email followups and alerts configuration' and hit the 'Send a test email to the administrator'. That email works just fine.
If, for example, I try to send an approval request from a ticket to a known working email, I get the following error on top of the next page" 'Error in sending the email. Could not instantiate mail function."
How do I turn on debuging mode?
Offline
Ok, I think I see the problem, but I don't understand how everybody else would not be having the same issue.
on class.mailer.php, protected function MailSend($header, $body). If I output to screen the $to variable (which it suposed to be the mail recepient) it prints the surname field, not the email field. The other variable that holds the recepient, $val (loaded on the foreach ($toArr as $key => $val)), is empty.
Could somebody please confirm this?
Last edited by abdon (2011-07-21 01:32:59)
Offline
I'm troubleshooting my problem by sending validation requests from a ticket (which of course are failing).
file class.phpmailer.php, MailSend function, line 587,588:
} else {
$rt = @mail($to, $this->EncodeHeader($this->SecureHeader($this->Subject)), $body, $header);
This is what sends the emails, but the $to field is empty.
Offline
bump.
Offline
$to must be populated on : notificationmail.class.php on line 232
$mmail->AddAddress($options['to'], $options['toname']);
Are your emails addresses valid ?
MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI : Support Contribute References Freshmeat
Offline