2018-06-15 02:57:03 +02:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace Teknik.MailService
|
|
|
|
|
{
|
|
|
|
|
public interface IMailService
|
|
|
|
|
{
|
|
|
|
|
bool AccountExists(string username);
|
|
|
|
|
|
|
|
|
|
DateTime LastActive(string username);
|
|
|
|
|
|
2019-01-28 00:28:03 +01:00
|
|
|
|
bool Enabled(string username);
|
|
|
|
|
|
2021-11-16 08:42:57 +01:00
|
|
|
|
void CreateAccount(string username, string password, long size);
|
2018-06-15 02:57:03 +02:00
|
|
|
|
|
|
|
|
|
void EditPassword(string username, string password);
|
|
|
|
|
|
2021-11-16 08:42:57 +01:00
|
|
|
|
void EditMaxSize(string username, long size);
|
2018-06-15 02:57:03 +02:00
|
|
|
|
|
|
|
|
|
void EditMaxEmailsPerDay(string username, int maxPerDay);
|
|
|
|
|
|
2018-06-16 08:31:52 +02:00
|
|
|
|
void EnableAccount(string username);
|
2018-06-15 02:57:03 +02:00
|
|
|
|
|
2018-06-16 08:31:52 +02:00
|
|
|
|
void DisableAccount(string username);
|
2018-06-15 02:57:03 +02:00
|
|
|
|
|
2018-06-16 08:31:52 +02:00
|
|
|
|
void DeleteAccount(string username);
|
2018-06-15 02:57:03 +02:00
|
|
|
|
}
|
|
|
|
|
}
|