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)
Apr 3 2026, 9:23 AM
Unknown Object (File)
Mar 31 2026, 10:23 PM
Unknown Object (File)
Mar 14 2026, 6:09 PM
Unknown Object (File)
Mar 10 2026, 6:34 PM
Unknown Object (File)
Feb 25 2026, 1:06 AM
Unknown Object (File)
Jan 22 2026, 1:28 AM
Unknown Object (File)
Jan 20 2026, 1:43 PM
Unknown Object (File)
Nov 22 2025, 10:03 AM
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