Skip to main content
Skip table of contents

setSendHtml

Versionshinweise

20.2

Code

GROOVY
void MailUtils.setSendHtml(ScriptMail mail, boolean sendHtml)

Beschreibung

Setzt auf der Mail, ob diese als HTML oder Plain-Text versendet werden soll.

Parameter

  • mail - Ein ScriptMail Objekt zum Versenden einer Mail.
  • sendHtml - true versendet die Mail in HTML-Format, false als Plain-Text.

Beispiele

GROOVY
ScriptMail mail = MailUtils.createMail("Betreff");
boolean sendHtml = true; // Mail wird in HTML-Format versendet
MailUtils.setSendHtml(mail, sendHtml);
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.