Lines 1314-1324
sub _send_message_by_email {
Link Here
|
1314 |
} |
1314 |
} |
1315 |
} |
1315 |
} |
1316 |
|
1316 |
|
1317 |
# Encode subject line separately |
|
|
1318 |
$message->{subject} = encode('MIME-Header', $message->{'subject'} ); |
1319 |
my $subject = $message->{'subject'}; |
1317 |
my $subject = $message->{'subject'}; |
1320 |
|
1318 |
|
1321 |
my $content = encode('UTF-8', $message->{'content'}); |
1319 |
my $content = $message->{'content'}; |
1322 |
my $content_type = $message->{'content_type'} || 'text/plain; charset="UTF-8"'; |
1320 |
my $content_type = $message->{'content_type'} || 'text/plain; charset="UTF-8"'; |
1323 |
my $is_html = $content_type =~ m/html/io; |
1321 |
my $is_html = $content_type =~ m/html/io; |
1324 |
|
1322 |
|
1325 |
- |
|
|