use strict; my page_visited = 'http://companypage/index.html'; If(page_visited) { use Mail::Sendmail; my %mail = ( To => 'jones@company.com', From => 'smith@company.com', Subject => "Page visited", Message => "Page was visited", ); $mail{smtp} = '111.22.333.444'; sendmail(%mail) || die "\nProblem! $Mail::Sendmail::error\n"; }
In reply to Email on every page hit by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |