mirror of
https://github.com/mailscope/kumomta.git
synced 2026-08-25 05:38:18 +00:00
325 B
325 B
new_html
kumo.mimepart.new_html(CONTENT)
{{since('2025.10.06-5ec871ab')}}
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>!'