Closed bokutin closed 3 years ago
Hi @bokutin. This is duplicate of issue https://github.com/rjbs/Email-MIME/issues/31 Syntax name0=... name1=... is not supported yet. I created pull request which adds support for long file names via that syntax two years ago, see: https://github.com/rjbs/Email-MIME/pull/51 but seems that @rjbs as maintainer is not interested in fixing bugs nor reviewing/accepting patches from community... So do not expect that this bug would be fixed in near future in Email::MIME module. Probably never. Rather look for another module for parsing emails, this one seems like abandoned.
Thank you for your reply.
I confirmed that Courriel would work without problems. https://metacpan.org/pod/Courriel
However, since Email::MIME is used in many productions, it will be very useful if it is corrected by the version upgrade.
I’m stuck...
Look at discussion about Email:: modules: https://www.mail-archive.com/pep@perl.org/msg00557.html No answer for any of my email from maintainer for 11 months.
Do you have any recommendations for alternatives to Email::MIME? @pali
Seems that issue #31 was fixed and my pull request #51 was finally merged. So support for name*0=... name*1=...
should be in git.
I'm not sure exactly what the original submitter thinks is the correct behavior for their test program, but having run it with the latest versions on CPAN, I'm guessing it's still not right.
de_01_1071.gif at foo line 34.
=?utf-8?B?44KP44Gf44GC44KB44Kr44Oh44OpXzIwMTkwNDAxXzE5MTIyNi5q?= =?utf-8?B?cGc=?= at foo line 35.
Wide character in warn at foo line 43.
"わたあめカメラ_20190401_191226.j" pg at foo line 43.
Wide character in warn at foo line 49.
わたあめカメラ_20190401_191226.jpg at foo line 49.
Maybe it is related to this issue https://github.com/rjbs/Email-MIME/issues/76 ?
Yeah, could be. Blaaah email. Okay, I'll give this a real read-through tomorrow.
(Thanks. ;) )
... I'm looking at it again and issue #76 is just continue in discussion of this issue #60 by the same reported ... so I guess this one can be closed as discussion was moved to #76.
Yeah. Really, all these things need to be made clearer for users, but I have no silver bullet…
Hi.
We encountered a bug where Email::MIME::filename () did not return the correct filename.
I think the cause is that the order in which mime_decode and parse_content_type work is reversed.
Write down the sample code.
This email is an email forwarding received from Gmail. It is correctly displayed as "わたあめカメラ_20190401_191226.jpg" on Gmail.