open SENDMAIL, "| /usr/lib/sendmail -t -n -oi" or die $!; print SENDMAIL "From: user\@domain.com\n"; print SENDMAIL "To: $recipient\n"; print SENDMAIL "Subject: testing 123\n\n"; print SENDMAIL $msg_text; close (SENDMAIL);
In reply to Re: How do you properly use sendmail?
by spartacus9
in thread How do you properly use sendmail?
by draco_iii
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |