See the discussion here:
Iconv is currently used by gen_smtp. To be able to work gen_smtp expects a registered process named iconv. If it can't find it it calls iconv:start/0 and later calls iconv:open(). This means that gen_smtp has quite some knowledge of the internals of iconv.
What I propose to do is to Maas' option #1: remove the code which calls iconv:start, so it doesn't know about the internals of iconv and just uses a module named iconv to convert. Starting and stopping is arranged elsewere via application:start and a configuration file.
cc @mmzeeman @mworrell
I agree with Arjan, just remove the icon:start/0 call.
It is not optimal to start apps inside functions anyway.
Maybe we should just make a pull request that does this? ;-)
Then @Vagabond needs just to press a single button to fix this issue :p
Sounds good to me 👍
Will take it from the merge requests.