On Jan 23, 2000 at 23:39, Philip S Tellis wrote:
> > But if I use a Perl script (sendmail -t), it gives the error:
> > >>> MAIL From:<[EMAIL PROTECTED]> SIZE=67
> > <<< 501 <[EMAIL PROTECTED]>... Sender domain must exist
> > 501 [EMAIL PROTECTED] Data format error
>
> Send me your perl script and I'll be able to tell you if there's a problem
> there.
#!/usr/bin/perl
[snip]
my $mailpath='/usr/sbin/sendmail -t';
#my $mailpath='/bin/cat/';
my $base='/home/satyap/rem/';
[snip]
open (MAIL,"| $mailpath");
print(MAIL "From:<Reminders\@satyaonline.cjb.net>\n");
print(MAIL "To:<$mailto>\n");
[$mailto is defined]
[snip mail stuff]
close(MAIL);
--
Satya. http://satyaonline.cjb.net/
Mumbai bus guide at http://satyaonline.cjb.net/ !
FREE! Email reminder service at http://satyaonline.cjb.net/rem.html
<<< Hi! I'm a tagline virus! Steal me & join in the fun! >>>
To subscribe / unsubscribe goto the site www.ilug-bom.org ., click on the mailing list
button and fill the appropriate information
and submit. For any other queries contact the ML maintener