I have developed a straightforward newsletter application. Users simply add text and images, select an email group, and the recipients receive a well-formatted HTML email.
However, I encountered an issue where Gmail and Outlook (untested on other email clients) strip out all images from the emails. The images are completely removed, without any placeholder or alternative text being displayed.
This is, obviously not an APEX problem. I am hoping someone who has faced this issue before can share their solution.
The images in the emails are stored in a database table and are embedded as inline images within the HTML content.
When I save the HTML content (the body of the email) to a file on my local machine and open it in a browser, it displays perfectly, with all images shown correctly.