The above script just sent the mail to the receiver if the email is valid, but it will not bounce back to the sender if the email is invalid. Any idea how to do the bounce back function?open (RMAIL, "|/usr/lib/sendmail -t"); select (RMAIL); $~ = "RESPONSE"; write; close (RMAIL);
In reply to sent mail by perl by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |