Subject: | content type problem |
Date: | Fri, 27 Jul 2007 13:35:18 +0300 |
To: | bug-Email-MIME-Modifier [...] rt.cpan.org |
From: | deniswork [...] uzvik.kiev.ua |
seem this is bug ...
i need that root part of Email-Mime was in such content-type:
Content-Type: multipart/mixed; boundary="1185531521.584f33.3756";type="multipart/alternative"
But i cant set it via:
$email->content_type_set('multipart/mixed; type="multipart/alternative"')
because Email::MIME::Modifier 1.442
sub content_type_set {
my ($self, $ct) = @_;
my $ct_header = parse_content_type( $self->header('Content-Type') );
@{$ct_header}{qw[discrete composite]} = split m[/], $ct;
^^^^^^^^^^^^^ ant this
part of my
ct(type="multipart/alternative") is broken
$self->_compose_content_type( $ct_header );
$self->_reset_cids;
return $ct;
}
how to pass to content-type such type 'multipart/mixed;
type="multipart/alternative"' ?
Thanks