If you are a web developer you must have had a chance to write Email Templates which should work across all major email clients consistently. I too have fought that battle many times and I know it’s hard and frustrating to write and check Cross Client Email Templates.
This article is an attempt to help avoid the frustration one has to go through when designing Cross Client Email Templates. I’ll try to list down the DO’s and DON’Ts that we should adhere to when writing Email Templates for maximum compatibility across email clients. Also I’ll list down the common issues/bugs that are faced in Email Templates and their solutions.
- Use of table for layout
- Make sure to have a correct DOCTYPE Declaration
- Use of inline style
- Issue with empty cells
- White space issue with images
- Close every tag properly
- Properly using the background images
- Specify height, width and alt attribute with images
- Test test and test