Help for this page
open( MAIL, "| $sendmail -t" ); print MAIL "To: $_\n"; ... close(MAIL); print "Email was sent to: $_!<br>";