K
K
KrupAch2021-06-27 20:23:31
Layout of letters
KrupAch, 2021-06-27 20:23:31

How to create an HTML email?

All health, dear connoisseurs!
Please share your experience of creating HTML emails.
The bottom line is this:
I have a docx file and now the task is to create an HTML letter that should open equally correctly in all email clients.
I started to typeset some things, but not without problems:
1) I don’t understand where to place the images that will be embedded in the letter
2) I plan to implement the method of sending the letter as follows:
Through the developer panel, in Yandex mail, I plan to implement the code of the finished letter.
Hope it will work.
Now the main questions for connoisseurs:
1) As far as I understand, in order to display images, these images must be in the public domain. If so, what is the best service to host images? Will Yandex or Google Drive work?
2) If I'm not mistaken, then for letters the layout is in tables (not the most comfortable layout, for me personally). Tell me, is there any service on which it is possible to make up a letter + copy the final html code of the letter?
Thank you.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Anton Litvinenko, 2021-06-27
@KrupAch

I recommend using the MJML framework , if you have layout experience, then deal with it for a couple of hours, good documentation, there are examples, an online sandbox, an application for a computer and the ability to run under a gallop

S
Spaceoddity, 2021-06-27
@Spaceoddity

1. Images are best stored on your own server. As an option - attach them to the letter as files. But it will be necessary to test - so that the images are displayed correctly. It will be necessary to test email-mailings for any one very seriously. I even brute-forced services for testing emails on different platforms and gadgets. Or reduce requests - cross-platform (specificity is decent here).
2. So far, only tables. Lots of services. The threshold of entry, by the way, is quite average. It won't work out of the blue just like that - it will be necessary to delve into the code of examples. Hands not much longer. The principles of "table layout" are quite simple.
UPD: The essence of the specifics of cross-platform is as follows: for the Western market, for example, you need to test yahoo for any, and for the Russian market - Yandex (on the contrary, absolutely miserable percentages).

C
CityCat4, 2021-06-28
@CityCat4

Maybe there is some trick that I don't know about?

There is :) RFC is called. Which says nothing about the fact that I can not change the letter during the reception. On the contrary, I can change it very much :) Well, that is, cut out all the pictures / links, or deactivate them by adding garbage, or even run the text through the parser, tearing out only the text (I met such harsh mailers).
This is not counting the fact that images are disabled by default in email clients.
There is no "correct HTML email". There is a "letter that is correctly displayed in the most popular free mail servers" - because only there is some kind of guarantee that it will not be torn apart when received.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question