[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] Problem with sendmail.
- Subject: Re: [cobalt-developers] Problem with sendmail.
- From: Will DeHaan <will@xxxxxxxxxx>
- Date: Mon Dec 13 11:37:32 1999
- Organization: Cobalt Networks
Ariel,
You need to tell sendmail where to find the recipient addresses. It
expects them on the command line, so open "| /usr/sbin/sendmail -oi -t"
instead.
-- Will
Ariel Manzur wrote:
>
> Hi..
>
> I'm wtitting this Perl script that sends an e-mail, so I do this:
>
> open(MAIL, "|/usr/sbin/sendmail") or die "can't open";
> print MAIL "To: user\@domain.com\n", "From: user\@domain.com\n", "Subject:
> subject\n", "\n$msg\n";
> close(MAIL);
>
> (I have all the body of the mail on $msg). And I'm getting this error from
> sendmail:
>
> admin... Recipient names must be specified
>
> The script belongs to admin. I'm not getting this error on other machines,
> only on the Cobalt..
>
> What could that be?
>
> Thanks.. Bye..
>
> Ariel.
>
> _______________________________________________
> cobalt-developers mailing list
> cobalt-developers@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-developers