View Issue Details

IDProjectCategoryView StatusLast Update
0007040mantisbtemailpublic2014-10-07 19:12
Reporterfekw Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status confirmedResolutionopen 
Product Version1.0.2 
Summary0007040: Manual change of sendmail path impossible
Description

I got the following problem:

  • sendmailpath set by my provider:
    /usr/sbin/sendmail -t -i -f webXYZ@mantis.xxxx.de

so changeg the mailing method in config_inc.php to:

select the method to mail by:

0 - mail()

1 - sendmail

2 - SMTP

$g_phpMailer_method = 1;

Now I tried to send an lost_password-email on the login page and I got the following message:

PROBLEMS SENDING MAIL TO: abc@gmx.de
Mailer Error: Konnte folgenden Befehl nicht ausführen: /usr/sbin/sendmail

Then I search the manual, config_default.php, /core/email_api.php for any possibility to set the senmail-path manually. I couldn'z find a way to solve the problem.

So please make a manual change of sendmail-path possible.

Thanks

TagsNo tags attached.

Activities

vboctor

vboctor

2006-05-06 18:01

manager   ~0012784

This can be currently achieved by changing the following line in mantis/core/phpmailer/class.phpmailer.php

var $Sendmail = "/usr/sbin/sendmail";

We should add a configuration option to allow overriding this value and make sure that the overriding is done by mantis/core/email_api.php.