Skip to main content
Skip table of contents

getRecipients

Versionshinweise

26.3

Code

GROOVY

MailUtils.getRecipients(ScriptMail mail);

Beschreibung

Liest die Mailadressen der Empfänger einer ScriptMail aus.

Parameter

  • mail - Die ScriptMail, von der die Mailadressen der Empfänger ausgelesen werden soll.

Rückgabe

Gibt die Mailadressen der Empfänger zurück.

Beispiele

GROOVY

GROOVY
ScriptMail mail = MailUtils.getMailFromFile(DocumentUtils.getDocumentPath("mailDocumentPk"));
List<String> recipients = MailUtils.getRecipients(mail);
JavaScript errors detected

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

If this problem persists, please contact our support.