rjbs / Email-MIME

perl library for parsing MIME messages
20 stars 30 forks source link

Use functions build_content_disposition and build_content_type from Email::MIME::ContentType #51

Closed pali closed 4 years ago

pali commented 7 years ago

New version of Email::MIME::ContentType would have functions for composing Content-Type and Content-Disposition headers.

As a bonus they support Unicode strings encoded to UTF-8 according to RFC 2231. Therefore Email::MIME can set Unicode file name for the attachment.

Some tests were slightly modified as attributes do not have to be always quoted and Email::MIME::ContentType do it only if needed.

Fixes #18 Fixes #31

Depends on https://github.com/rjbs/Email-MIME-ContentType/pull/11

dxdc commented 6 years ago

@pali any chance of officially releasing this into 1.023? :)

pali commented 6 years ago

@dxdc: I'm not maintainer of Email-MIME. @rjbs is maintainer and it is up to him.

dxdc commented 6 years ago

@rjbs any chance of resolving this? would be great to get these bugs corrected..

pali commented 6 years ago

@rjbs question from @dxdc (15 Feb) still remain open...

rjbs commented 4 years ago

Thanks, applied.