[rt-users] rt2 SendmailArguments only honors first argument?
Jesse Vincent
jesse at bestpractical.com
Wed Feb 25 16:44:54 EST 2004
On Feb 25, 2004, at 4:32 PM, Vivek Khera wrote:
>
> On Feb 24, 2004, at 6:17 PM, Phil Homewood wrote:
>
>> Vivek Khera wrote:
>>> It appears that in rt2 the $RT::SendmailArguments only honors the
>>> first
>>> argument given it.
>>
>> Can you verify this, say, by pointing $SendmailPath to
>> a wrapper script and capturing the args it sees?
>
> I wrote a small test program:
>
> --cut here--
> #!/usr/local/bin/perl -wT
> use strict;
>
> use MIME::Entity;
>
> my $entity = MIME::Entity->build( Type =>"multipart/mixed",
> From => 'vivek at khera.org',
> Bcc => undef,
> To => 'khera at kcilink.com',
> Subject => 'SnuffyFunk',
> 'X-RT-Loop-Prevention' => 'RT2',
> );
>
> $entity->attach( Data => "This is my sample message.\n");
>
> #$entity->send('sendmail', '-oi -fnobody at example.com');
> $entity->send('sendmail', '-fnobody at example.com -oi');
What about:
> $entity->send('sendmail', '-f"nobody at example.com" -oi');
?
Jesse
More information about the rt-users
mailing list