Jump to content

Attempting to email an html newsletter


DHood

Recommended Posts

I'm attempting to email a newsletter that is html based. I have the code working 100% when accessing it directly via the .html file but when I email it, there's a bunch of random spacing. I tried adding style='display:block;margin:0;padding:0;' to all the images, which improved it some, but not too much.

Link to comment
https://forums.phpfreaks.com/topic/275814-attempting-to-email-an-html-newsletter/
Share on other sites

It's recommended to use tables when creating HTML styled emails, also keep in mind that images won't show in lots of email clients (e.g. Gmail).

Different clients also handle CSS differently, so if I were you I would just throw together a basic HTML table with some background and text colors.

 

- W

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.