Hi,
Anyone here know how to do this? Using a multipart/form-data <form> I've been trying to send something like this in the report chunk of eForm:
<img src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAQCAIAAACdjxhxAAAC7mlDQ1BJQ0MgUHJvZmlsZQAAeAGFVM9rE0EU/jZuqdAiCFprDrJ4kCJJWatoRdQ2/RFiawzbH7ZFkGQzSdZuNuvuJrWliOTi0SreRe2hB/+AHnrwZC9KhVpFKN6rKGKhFy3xzW5MtqXqwM5+8943731vdt8ADXLSNPWABOQNx1KiEWlsfEJq/IgAjqIJQTQlVdvsTiQGQYNz+Xvn2HoPgVtWw3v7d7J3rZrStpoHhP1A4Eea2Sqw7xdxClkSAog836Epx3QI3+PY8uyPOU55eMG1Dys9xFkifEA1Lc5/TbhTzSXTQINIOJT1cVI+nNeLlNcdB2luZsbIEL1PkKa7zO6rYqGcTvYOkL2d9H5Os94+wiHCCxmtP0a4jZ71jNU4mHhpObEhj0cGDX0+GAVtxqp+DXCFF8QTSeiVHHZLg3xmK79VvJKgnCQOMpkYYBzWkhP10xu+LqHBX0m1xOv4ndWUeF5jxNn3tTd70XaAq8wDh0MGgyaDUhQEEUEYZiwUECGPBoxNLJyPyOrBhuTezJ1JGq7dGJEsUF7Ntw9t1Gk3Tz+KCJxlEO1CJL8Qf4qr8lP5Xn5y1yw2Fb3lK2bmrry4DvF5Zm5Gh7X08jjc01efJXUdpNXR5aseXq8muwaP+xXlzHmgjWPxHOw+/EtX5XMlymMFMXjVfPqS4R1WjE3359sfzs94i7PLrXWc62JizdWm5dn
/WpI++6qvJPmVflPXvXxGfNxGPiKTEmdornIYmXxS7xkthLqwviYG3HCJ2VhinSbZH6JNVgYJq89S9dP1t4vUZDPVRlBnM0lSJ93CKmQ0nbkObqP28f8F+T3iuefKAIvbODImbptU3HvEKFlpW5zrgIXv9F98LZua6N+OPwEWDyrFq1SNZ8gvAEcdod6HugpmNOWls05Uocsn5O66cpiUsxQ20NSUtcl12VLFrOZVWLpdtiZ0x1uHKE5QvfEp0plk/qv8RGw/bBS+fmsUtl+ThrWgZf6b8C8/UXAeIuJAAAACXBIWXMAAAsTAAALEwEAmpwYAAAARUlEQVQ4EWP8//8/A2WABaidkRHdjP//oUKMjIQtYELXTTp/1AhEmDGCIxUjShAKCLMGR3BCkhZ6+hlNWoTjD6sKKkQqAEwMDSGRs5xiAAAAAElFTkSuQmCC" alt="Flag of Sweden"/>
The result is either it's showing up as a chopped up message or the src part is being stripped out by Gmail, leaving only the alt message..
-
☆ A M B ☆
- 1,031 Posts
Are those inline images not displayed in Gmail or in every mail client?
Maybe you have to send your mails with an own instance of phpMailer instead of using the eForm one (Maybe the eForm one is too old). You have to use eForm form event functions for that.
[ed. note: Jako last edited this post 12 years, 6 months ago.]
I'd say Gmail's the culprit @.@.
Read a number of things about this method being an unreliable way of getting those images to show up. I ended up with a code that just uploads processed images somewhere in the server and then just putting links to those in the email body.