Я играл с модулем электронной почты в python, но я хочу знать, как вставлять изображения, которые включены в html.
Так, например, если тело похоже на
<img src="../path/image.png"></img>
Я хотел бы вставить image.png в электронную почту, а атрибут src
должен быть заменен на content-id
. Кто-нибудь знает, как это сделать?