mirror of
https://github.com/mailscope/kumomta.git
synced 2026-09-13 14:02:13 +00:00
refs: https://github.com/KumoCorp/kumomta/issues/117 Could also make it possible to do eg: https://github.com/KumoCorp/kumomta/issues/142 without any explicit direct support in the product.
309 B
309 B
new_html
kumo.mimepart.new_html(CONTENT)
{{since('dev')}}
Constructs a new MimePart with Content-Type: text/html.
The CONTENT parameter must be a UTF-8 string.
Example
local kumo = require 'kumo'
local part = kumo.mimepart.new_html '<b>Hello</b>!'