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