EmailAccount getAllGlobalEmails
Revision as of 08:40, 3 August 2016 by Lekhacbaongoc (talk | contribs) (Created page with "Category:Email_and_SMS_Functions {{HelpFiles}} ===EmailAccount_getAllGlobalEmails=== Get list global emails alias ===Syntax=== EmailAccount_getAllGlobalEmails();...")
EmailAccount_getAllGlobalEmails
Get list global emails alias
Syntax
EmailAccount_getAllGlobalEmails();
Arguments
None
Return type
array list EmailAccount
Examples
array globalEmails = EmailAccount_getAllGlobalEmails();
for(number i=0;i<globalEmails.Count;i++)
{
EmailAccount emailAcc = globalEmails[i];
print("ActualEmail:" + emailAcc.ActualEmail);
print("Address: " + emailAcc.Address);
print("Alias: " + emailAcc.Alias);
print("Default: " + emailAcc.Default);
print("IsGEA: " + emailAcc.IsGEA);
print("ResourceId: " + emailAcc.ResourceId);
print("UseActualEmail: " + emailAcc.UseActualEmail);
print("--------------------------------------------");
}
/*
ActualEmail:
Address: system_group@voxmeter.catglobe.com
Alias: System group
Default: True
IsGEA: True
ResourceId: 87
UseActualEmail: False
--------------------------------------------
*/