- my $email = $self->recode($myconfig->{email});
- $email =~ s/[^\w\.\-\+=@]//ig;
-
- my %temp_form = ( %{ $form }, 'myconfig_email' => $email );
- my $template = SL::Template::create(type => 'PlainText', form => \%temp_form);
- my $sendmail = $template->parse_block($::lx_office_conf{applications}->{sendmail});
-
- if (!open(OUT, "|$sendmail")) {