Revision 93b7fa24
Von Moritz Bunkus vor etwa 12 Jahren hinzugefügt
SL/Mailer/Sendmail.pm | ||
---|---|---|
2 | 2 |
|
3 | 3 |
use strict; |
4 | 4 |
|
5 |
use Encode; |
|
5 | 6 |
use IO::File; |
6 | 7 |
use SL::Template; |
7 | 8 |
|
... | ... | |
17 | 18 |
|
18 | 19 |
Rose::Object::init(@_); |
19 | 20 |
|
20 |
my $email = $self->mailer->recode($self->myconfig->{email});
|
|
21 |
my $email = $::locale->is_utf8 ? Encode::encode('utf-8', $self->myconfig->{email}) : $self->myconfig->{email};
|
|
21 | 22 |
$email =~ s/[^\w\.\-\+=@]//ig; |
22 | 23 |
|
23 | 24 |
my %temp_form = ( %{ $self->form }, myconfig_email => $email ); |
Auch abrufbar als: Unified diff
Entfernte Funktion SL::Mailer::recode nicht mehr aufrufen
Fixt #2035.