I don't have an answer to what exactly might be going wrong, but if it helps, I've posted an example some time ago that constructs alternative MIME messages using 4D code.
https://github.com/miyako/4d-component-email there is also a parser https://github.com/miyako/4d-plugin-gmime and a writer https://github.com/miyako/4d-plugin-etpan 2018/08/16 5:36、Pat Bensky via 4D_Tech <4d_tech@lists.4d.com<mailto:4d_tech@lists.4d.com>>のメール: Any idea what I'm doing wrong? ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************