CUTCODEDOWN
Minimalist Semantic Markup

Welcome Guest
Please Login or Register

If you have registered but not recieved your activation e-mail in a reasonable amount of time, or have issues with using the registration form, please use our Contact Form for assistance. Include both your username and the e-mail you tried to register with.

Author Topic: HTML Email  (Read 352 times)

AndrewTraub

  • Jr. Member
  • **
  • Posts: 80
  • Karma: +0/-0
HTML Email
« on: 25 Feb 2022, 05:44:42 pm »
What is the best practice for formatting html emails?
I've been using table layouts.  Can modern browser layouts be used now?

Jason Knight

  • Administrator
  • Hero Member
  • *****
  • Posts: 1060
  • Karma: +188/-1
    • CutCodeDown -- Minimalist Semantic Markup
Re: HTML Email
« Reply #1 on: 25 Feb 2022, 06:51:19 pm »
What is the best practice for formatting html emails?
I've been using table layouts.  Can modern browser layouts be used now?

BEST practice is to not use HTML e-mails. They are one of the many indicators for ranking a mail as spam, there shouldn't be anything in an e-mail to warrant the use of such formatting, etc, etc.

That said, IF you send HTML e-mails make it multi-part so you can send both the formatted HTML and a plaintext version.

As to the mail clients themselves, they are still quite limited. The rule of thumb remains what it's been for over 20 years. Pretend HTML 4 and CSS do not exist. You cannot rely on either working properly. You are stuck writing HTML 3.2 which is just another reason NOT to use HTML e-mails.

You want a pretty formatted page, put it on a website, not in an e-mail!
We are all, we are all, we are all FRIENDS! For today we're all brothers, tonight we're all friends. Our moment of peace in a war that never ends.

 

SMF spam blocked by CleanTalk

Advertisement