|
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)))
{ ... }