Defines a catch-all alias for the specified domain.
A GenericResult instance containing the results of the SetCatchAll action.
If a blank alias name is provided as the AliasName parameter, the catch-all for the domain is cleared.
The following sets the catch-all for the domain.net domain to new_alias@domain.net.
using System;
using svcAliasAdmin;
class svcAliasAdminSetCatchAll
{
static void Main()
{
svcAliasAdmin alias = new svcAliasAdmin();
GenericResult status = alias.SetCatchAll("admin@domain.net",
"alskdjfhtt",
"domain.net",
"new_alias"
if(status.Result)
Console.WriteLine ("Catch-All updated");
else
Console.WriteLine (status.Message);
}
}
svcAliasAdmin Class | svcAliasAdmin Namespace