Skip to main content
Skip table of contents

isSuccessful

Versionshinweise

13.2

Code

GROOVY
boolean MailUtils.isSuccessful(IMailResult result)

Beschreibung

Prüft, ob der Versand der Email erfolgreich war.

Parameter

  • result - Ein IMailResult Objekt.

Rückgabe

Gibt true, zurück, wenn das Versenden der Email erfolgreich war.
Ansonsten false.

Beispiele

GROOVY
IMailResult result = MailUtils.setActivity("ActivityPk", true, "MailConfigMatchCode");
if(!MailUtils.isSuccessful(result) && ScriptUtils.equal(MailConstants.ERROR_AUTHENTICATION, MailUtils.getErrorCode(result)))
{  ...  }
JavaScript errors detected

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

If this problem persists, please contact our support.