mirror of
https://github.com/chatmail/core.git
synced 2026-04-19 14:36:29 +03:00
add dc_msg_set_html() api (#2153)
* draft dc_msg_set_html() api * implement setting 'html to be send' * test sending html-parts * more flexible html-partbuilder * write html-parts to database and also send them * add 'sendhtml' command to repl tool
This commit is contained in:
@@ -34,6 +34,11 @@ pub enum Param {
|
||||
/// For Messages
|
||||
MimeType = b'm',
|
||||
|
||||
/// For Messages: HTML to be written to the database and to be send.
|
||||
/// `SendHtml` param is not used for received messages.
|
||||
/// Use `MsgId::get_html()` to get HTML of received messages.
|
||||
SendHtml = b'T',
|
||||
|
||||
/// For Messages: message is encrypted, outgoing: guarantee E2EE or the message is not send
|
||||
GuaranteeE2ee = b'c',
|
||||
|
||||
|
||||
Reference in New Issue
Block a user