Skip to main content
Skip table of contents

getSubject

Versionshinweise

26.3

Code

GROOVY

MailUtils.getSubject(ScriptMail mail);

Beschreibung

Liest den Betreff einer ScriptMail aus.

Parameter

  • mail - Die ScriptMail, von der der Betreff ausgelesen werden soll.

Rückgabe

Gibt den Betreff zurück.

Beispiele

GROOVY

GROOVY
ScriptMail mail = MailUtils.getMailFromFile(DocumentUtils.getDocumentPath("mailDocumentPk"));
String subject = MailUtils.getSubject(mail);
JavaScript errors detected

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

If this problem persists, please contact our support.