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
F18744522: D20069.id.diff
Fri, Oct 3, 3:20 AM
F18703244: D20069.id47919.diff
Sun, Sep 28, 3:21 AM
F18656699: D20069.diff
Mon, Sep 22, 11:12 PM
F18650540: D20069.diff
Sun, Sep 21, 12:58 AM
F18621595: D20069.id.diff
Sep 15 2025, 8:54 AM
F18601890: D20069.id47919.diff
Sep 13 2025, 1:41 PM
F18566953: D20069.id.diff
Sep 9 2025, 3:02 PM
F18383223: D20069.id47926.diff
Aug 28 2025, 10:44 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