Page MenuHomePhabricator

Provide a portable mail MIME header decoding function in libphutil
ClosedPublic

Authored by epriestley on Jan 30 2019, 10:50 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jul 2, 12:43 AM
Unknown Object (File)
Fri, Jun 20, 10:50 AM
Unknown Object (File)
Fri, Jun 20, 10:50 AM
Unknown Object (File)
Fri, Jun 20, 10:50 AM
Unknown Object (File)
Sun, Jun 15, 10:22 PM
Unknown Object (File)
Sun, Jun 15, 10:31 AM
Unknown Object (File)
May 26 2025, 7:30 AM
Unknown Object (File)
May 5 2025, 10:07 PM
Subscribers
None

Details

Summary

See T13232. We currently have a hard dependency on the "iconv" extension to support exactly one call in inbound mail handling if you run your own local SMTP server.

Wrap it and provide an "mbstring" alternative.

Test Plan

Called both methods on some inputs, they appeared to have the same behavior.

Diff Detail

Repository
rPHU libphutil
Lint
Lint Not Applicable
Unit
Tests Not Applicable