Skip to main content
Skip table of contents

getMailFromFile

Versionshinweise

26.3

Code

GROOVY

MailUtils.getMailFromFile(String fileName);

Beschreibung

Lädt eine Eml- oder Msg-Datei und erzeugt eine ScriptMail.

Parameter

  • fileName - Der Pfad zur Eml oder Msg-Datei.

Rückgabe

Gibt ein ScriptMail Objekt 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.