If you're not allowed to install your own modules, then I'd strongly urge you to find a more accomodating provider.
But to answer your question ...
open SENDMAIL, "| $path_to_sendmail -t -oi" or die "..."; print MAIL <<END_OF_MESSAGE; To: $adminmail From: $from Subject: $subject $message END_OF_MESSAGE
--k.
In reply to Re: Sendmail
by Kanji
in thread Help with script using sendmail
by venimfrogtongue
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |