Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions mail/cs/@home.texy
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ $mail->setHtmlBody(

Algoritmus vkládající obrázky vyhledává tyto vzory: `<img src=...>`, `<body background=...>`, `url(...)` uvnitř HTML atributu `style` a speciální syntaxi `[[...]]`.

Vkládá jen obrázky uložené v uvedeném adresáři. Odkaz na neexistující soubor, na jiný soubor než obrázek nebo na soubor mimo adresář vyhodí výjimku. Syntaxi `[[...]]` ale v takovém případě nechá beze změny, takže HTML může obsahovat i text od uživatelů a ti do e-mailu nevloží libovolný soubor ze serveru. .{data-version:4.3.0}

Může být odesílání e-mailů ještě jednodušší?

.[tip]
Expand Down
2 changes: 2 additions & 0 deletions mail/en/@home.texy
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ $mail->setHtmlBody(

The image embedding algorithm searches for these patterns: `<img src=...>`, `<body background=...>`, `url(...)` inside the HTML `style` attribute, and the special syntax `[[...]]`.

Only images stored in the given directory are embedded. A reference to a file that is missing, is not an image or is outside of the directory throws an exception. The `[[...]]` syntax is left unchanged in such a case, so the HTML may contain text from users without letting them embed an arbitrary file from the server. .{data-version:4.3.0}

Could sending emails be even easier?

.[tip]
Expand Down
Loading