mod/notification-email: get property by name

This works now that we require RouterOS 7.21 anyway.
This commit is contained in:
Christian Hesse 2026-04-22 11:09:27 +02:00
parent 63a13ec096
commit 4349ea150b

View file

@ -92,7 +92,7 @@
:return false;
}
:if (([ /tool/e-mail/get ]->"certificate-verification") ~ "^yes" && \
:if ([ /tool/e-mail/get certificate-verification ] ~ "^yes" && \
[ :len $EmailServerCertificate ] > 0) do={
:if ([ $CertificateAvailable $EmailServerCertificate "email" ] = false) do={
$LogPrint warning $0 ("Downloading required certificate failed.");