open(MAIL, "|$sendmail -t") or die "Cannot open sendmail: $sendmail: + $!"; print MAIL 'From: no@reply.com\n'; print MAIL "To: $email\n"; print MAIL "Subject: $subject\n\n"; print MAIL "confirmation"; close(MAIL);
In reply to Small email script not working by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |