Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

html-email

Best practices for styling HTML emails [closed]

October 15, 2022 by Tarik

I’ve fought the HTML email battle before. Here are some of my tips about styling for maximum compatibility between email clients. Inline styles are you best friend. Absolutely don’t link style sheets and do not use a <style> tag (GMail, for example, strips that tag and all it’s contents). Against your better judgement, use and … Read more

Categories html Tags css, html, html-email Leave a comment

What’s a 3D doing in this HTML?

September 29, 2022 by Tarik

It’s an email encoding system called “quoted-printable”, which allows non-ASCII characters to be represented as ASCII for email transportation. In quoted-printable, any non-standard email octets are represented as an = sign followed by two hex digits representing the octet’s value. Of course, to represent a plain = in email, it needs to be represented using … Read more

Categories html Tags css, html, html-email Leave a comment

Send HTML emails with Python

September 27, 2022 by Tarik

From Python v2.7.14 documentation – 18.1.11. email: Examples: Here’s an example of how to create an HTML message with an alternative plain text version: #! /usr/bin/python import smtplib from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText # me == my email address # you == recipient’s email address me = “my@email.com” you = “your@email.com” # … Read more

Categories python Tags email, html, html-email, python Leave a comment
Newer posts
← Previous Page1 … Page3 Page4

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa