varakal,
Thank you!
unfortunately
“open (SENDMAIL, "|/usr/lib/sendmail -oi -t")”
doesn’t work
I think the problem is not in the script but in the sendmail configuration, because it is complaining about "header"
predamarcel !
Thank you!
it works!
Thank you so much!
Hello Folks,
I’m trying to send an email from UNIX System (Solaris 5.8 ) by running the perl script below:
*************************
#!/bin/perl
#sendmail.pl
open (SENDMAIL, "|/usr/lib/sendmail -oi -t -odq") or
die "Can't fork for sendmail: $!\n";
print SENDMAIL <<"EOF";
From...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.