Page 1 of 1

Scheduling of Windows

Posted: 09 Aug 2013, 09:30
by tistou
Hi, thank you for your plugin.

I still have something that i would like to fix.

I have mantis and Emailreporting working fine, but what i'd like to do is schedule a script to fetch all mails.

When i go to http://localhost/plugins/EmailReporting ... t_mail.php it's working like a charm, but when i try "php link\to\file\bug_report_mail.php" i have this error : "Message : Failed to connect to the mail server".

If anyone is able to help me i'll be really thankfull.

I'm here for any questions you have.

PS : using Mantis 1.2.15 and EmailReporting 0.9.0 DEV

Re: Scheduling of Windows

Posted: 09 Aug 2013, 17:34
by SL-Gundam
please activate debug mode and post the full logs of bug_report_mail.php through the webserver and bug_report_mail.php through the commandline

Re: Scheduling of Windows

Posted: 11 Nov 2013, 07:05
by vishalthakur1983
Can somebody please help me with below error.

while running through command prompt (E:\wamp\bin\php\php5.3.8\php.exe E:\wamp\www\XXX\plugins\EmailReporting\scripts\bug_report_mail.php)
Location: Attempt login
[pear_error: message="" code=-1 mode=return level=notice prefix="" info=""]

and if i am running the same through browser (http://xxx.com/plugins/EmailReporting/s ... t_mail.php) then it's working perfectly.


I am using following :-

PHP 5.3.8
Email Reporting 0.9.0-DEV

Re: Scheduling of Windows

Posted: 11 Nov 2013, 16:02
by SL-Gundam
It's possible PHP.exe loaded another ini file then the one used by your webserver.

Please check the phpinfo information from within the command prompt and from within the webserver to find out which php.ini's are loaded

It's also possible that different pear library's are used. Which could also be found out by checking the phpinfo information

http://www.php.net/phpinfo

Something else you can try is enabling debug mode and run bug_report_mail again through the webserver and through the command line

Please post the results here

Re: Scheduling of Windows

Posted: 18 Nov 2013, 12:15
by vishalthakur1983
check with every possible solution but still not working :cry:

Re: Scheduling of Windows

Posted: 18 Nov 2013, 16:24
by SL-Gundam
Please provide the necessary output to support your answer.

That way we might see other things that are possibly causing your issues