Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

EmailAccount getAllGlobalEmails

From Catglobe Wiki



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: [email protected]
Alias: System group
Default: True
IsGEA: True
ResourceId: 87
UseActualEmail: False
--------------------------------------------
*/