in reply to Re: sendmail not sending
in thread sendmail not sending

You could also use the -t option to sendmail to tell it to get its recipients from the To: header.

Replies are listed 'Best First'.
Re: Re: Re: sendmail not sending
by muntfish (Chaplain) on May 25, 2004 at 11:13 UTC

    Aha, yes, that too. I'd forgotten that one - thanks.

    I'm surprised no-one has yet pointed out that piping to sendmail might not be the best way of sending a mail. I tend to prefer Net::SMTP as it is more portable.

    But it depends what the OP has available, or was trying to achieve, I guess.

    s^^unp(;75N=&9I<V@`ack(u,^;s|\(.+\`|"$`$'\"$&\"\)"|ee;/m.+h/&&print$&;