Here's the code:
$sendmail="/usr/sbin/sendmail/";
$to = $FORM{'to'};
$pwd = $FORM{'pwd'};
open (MAIL, "¦$sendmail -t") ¦¦ die "Can't open SENDMAIL\n";
print MAIL"To:$to\nFrom:$admin\nSubject: $recoverytitle\n\n";
print MAIL"
Here is your reminder: $pwd
You can log in at: $siteaddr/employers
If you did not authorize this request, please contact us immediately.
$tagline
$contactperson
$admindisplay
$sitename
$siteaddress
$sitecsz
Phone:$sitephone1 or $sitephone2
Fax: $sitefax
";
close(MAIL);