Sendmail arguments dropped

Am I lucky? When I start any task then I have to patch something :slight_smile:

Set($MailCommand , ‘sendmail’);
Set($SendmailArguments , ‘-oi -t’);

This sendmail arguments go a long way and at the end
exec($exe, @args, @to);

Before we call $entity->send we don’t split args in parts so sendmail
get in ARGV single part ‘-oi -t’ instead of array ‘-oi’,
‘-t’, ‘’. :frowning: sendmail don’t look in it at all :frowning:

In, RT forget about SendmailArguments!!!
In Interface/ too.

Patch attached fix only one place.

	Best regards. Ruslan.

rt3.sendmail_args.patch (488 Bytes)

A little more on.

I think, my patch is work around only. Right fix would be change option
$SendmailArguments from scalar to an array and join it on piping instead
of spliting on ->send(). Am I wrong?

	Best regards. Ruslan.

Ruslan U. Zakirov wrote: