Monday, 2010-07-19

../irclogs/#mantishelp.2010-07-19.log
--- scribe started ---00:00
gandhijeehey, i have setup mantis with a cronjob to send out email, but it seems to fail.19:03
gandhijeei get a Fatal error: 18 in /opt/mantisbt-1.1.6/core/print_api.php on line 65.19:03
nuclear_eclipsegandhijee: that error means http headers have already been sent when mantis tries to modify the page headers, so it sounds like either you have something echoing somewhere before loading mantis, or you have some accidental newlines in your configuration file or something of that sort19:06
nuclear_eclipseand btw, you should upgrade at least to 1.1.8 to fix bugs and security issues since 1.1.619:07
gandhijeeand that would be why i can use the send_emails.php through the browser19:08
gandhijeeapparently it was the HTML email plugin19:21
gandhijeethanks for the help19:21
nuclear_eclipseyou're welcome19:22
cristibHello20:16
cristibI need some help with Mantis20:17
cristibanybody willing to help?20:17
moto-moidepends on your question :)20:18
cristib:)20:18
cristibhi20:18
cristibwell, this is my problem: I don't have an email server, so I wanna use esmtp for sending email.20:19
cristibthe problem is that it doesn't work20:19
cristibI would like to know how mantis sends email?20:19
cristibit invokes sendmail?20:20
moto-moiafaik it just uses the php mail() command20:20
cristibI should see the doc for php mail() function20:20
cristib10x. I'll come back if I don't find any solutions20:21
moto-moinah, just the config_defaults.inc.php should be enough ;)20:22
moto-moig_phpMailer_method and such20:22
cristibwell, il looks like mail() function uses the sendmail command20:28
cristibI don't understand why it's not working. I am able to send mails with the mail command (which in term uses sendmail)20:28
cristibhow is phpMailer working?20:29
cristibI managed to make it work. a '$g_phpMailer_method=1' line in the conf file, and emails start poping20:43
moto-moi:P20:43

Generated by irclog2html.py