148 |
} |
} |
149 |
$ct->replace (charset => $e{charset}); |
$ct->replace (charset => $e{charset}); |
150 |
} elsif (ref $ct) { |
} elsif (ref $ct) { |
151 |
$ct->replace (charset => $self->{option}->{body_default_charset}); |
$ct->replace (Message::MIME::Charset::name_minimumize ($option{body_default_charset}, $e{value})); |
152 |
} elsif ($option{fill_ct}) { |
} elsif ($option{fill_ct}) { |
153 |
$ct = $self->{header}->field ('content-type'); |
$ct = $self->{header}->field ('content-type'); |
154 |
$ct->value ($option{media_type}.'/'.$option{media_subtype}); |
$ct->value ($option{media_type}.'/'.$option{media_subtype}); |
155 |
$ct->replace (Message::MIME::Charset::name_minimumize ($option{body_default_charset} => $e{value})); |
$ct->replace (Message::MIME::Charset::name_minimumize ($option{body_default_charset}, $e{value})); |
156 |
} |
} |
157 |
} |
} |
158 |
$e{value}; |
$e{value}; |