Hi,
what NetXMS version you are using?
Best regards,
Victor
what NetXMS version you are using?
Best regards,
Victor
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
rcpt = GetRecipients($node);
return (rcpt != null) ? rcpt : "default@email"; // fallback email if nothing was set in containers
sub GetRecipients(obj)
{
rcpt = GetCustomAttribute(obj, "recipients");
if (rcpt != null)
return rcpt;
foreach(p : GetObjectParents(obj))
{
rcpt = GetRecipients(p);
if (rcpt != null)
return rcpt;
}
return null;
}
rcpt = GetRecipients($node);
return (rcpt != null) ? rcpt : "default@email"; // fallback email if nothing was set in containers
sub GetRecipients(obj)
{
foreach(p : GetObjectParents(obj))
{
rcpt = GetCustomAttribute(p, "recipients");
if (rcpt != null)
return rcpt;
}
foreach(p : GetObjectParents(obj))
{
rcpt = GetRecipients(p);
if (rcpt != null)
return rcpt;
}
return null;
}
