Disclaimers fix
This commit is contained in:
parent
da3008c9cc
commit
61f6820f98
7 changed files with 2152 additions and 1773 deletions
|
@ -29,6 +29,7 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
|
||||
namespace WebsitePanel.Providers.HostedSolution
|
||||
{
|
||||
|
@ -63,5 +64,14 @@ namespace WebsitePanel.Providers.HostedSolution
|
|||
set { this.disclaimerText = value; }
|
||||
}
|
||||
|
||||
public string WSPUniqueName
|
||||
{
|
||||
get
|
||||
{
|
||||
Regex r = new Regex(@"[^A-Za-z0-9]");
|
||||
return "WSPDisclaimer" + ExchangeDisclaimerId.ToString() + "_" + r.Replace(DisclaimerName, "");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -131,8 +131,10 @@ namespace WebsitePanel.Providers.HostedSolution
|
|||
void RemoveDevice(string id);
|
||||
|
||||
// Disclaimers
|
||||
int NewDisclaimerTransportRule(string Name, string From, string Text);
|
||||
int RemoveTransportRule(string Name);
|
||||
int SetDisclaimer(string name, string text);
|
||||
int RemoveDisclaimer(string name);
|
||||
int AddDisclamerMember(string name, string member);
|
||||
int RemoveDisclamerMember(string name, string member);
|
||||
|
||||
// Archiving
|
||||
ResultObject SetMailBoxArchiving(string organizationId, string accountName, bool archive, long archiveQuotaKB, long archiveWarningQuotaKB, string RetentionPolicy);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue