Help for this page

Select Code to Download


  1. or download this
        if ($word =~ /[\w.-]+\@\w+\.\w/) {
            # looks like an e-mail address
    
  2. or download this
        for my $addr (@mail_to) {
            print SENDMAIL "Bcc: $addr\n";
    ...
        print SENDMAIL "Subject: South African tourism survey \n";
        print SENDMAIL "Content-type: text/plain \n\n";
        print SENDMAIL $content;