- my $email = $myconfig->{email};
- $email =~ s/[^\w\.\-\+=@]//ig;
-
- my %temp_form = ( %{ $form }, 'myconfig_email' => $email );
- my $template = PlainTextTemplate->new(undef, \%temp_form, $myconfig);
- my $sendmail = $template->parse_block($main::sendmail);
-
- if (!open(OUT, $sendmail)) {