getSystemMailConfig
Versionshinweise | 20.2 | ||
|---|---|---|---|
Code
String MailUtils.getSystemMailConfig()
Beschreibung
Ermittelt die System-Mailkonfiguration aus den Systemeigenschaften.
Rückgabe
Die hinterlegte System-Mailkonfiguration oder null.
Beispiele
String systemMailConfig = MailUtils.getSystemMailConfig();
if(!ScriptUtils.isEmpty(systemMailConfig))
{
ScriptMail mail = MailUtils.createMail("E-Mail Betreff");
IMailResult mailResult = MailUtils.send(mail, systemMailConfig);
}