[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-developers] PERL / Sendmail interaction on RAQ3
- Subject: [cobalt-developers] PERL / Sendmail interaction on RAQ3
- From: pulse-wave <gareth@xxxxxxxxxxxxxx>
- Date: Wed May 16 13:20:03 2001
- List-id: Discussion Forum for developers on Cobalt Networks products <cobalt-developers.list.cobalt.com>
on a freeBSD server i use the following code to send an email using perl
open (SENDMAIL, "|$SENDMAIL_PATH $TO") || die "Can't open $SENDMAIL!\n";
print SENDMAIL "From: $REPLYTO ($REPLYTO)\n";
print SENDMAIL "Reply-To: $REPLYTO ($REPLYTO)\n";
print SENDMAIL "To: $TO]\n";
print SENDMAIL "Subject: $SUBJECT\n\n";
print SENDMAIL "content\n";
close(SENDMAIL);
When trying this on the RAQ3 i get strange errors.
Does anyone know if there is a different syntax for interacting with
sendmail on the RAQ3 or if there is a better way entirely
many thanks
g a r e t h