2018-06-15 02:57:03 +02:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace Teknik.MailService
|
|
|
|
|
{
|
|
|
|
|
public interface IMailService
|
|
|
|
|
{
|
|
|
|
|
bool AccountExists(string username);
|
|
|
|
|
|
|
|
|
|
DateTime LastActive(string username);
|
|
|
|
|
|
|
|
|
|
void CreateAccount(string username, string password, int size);
|
|
|
|
|
|
|
|
|
|
void EditPassword(string username, string password);
|
|
|
|
|
|
|
|
|
|
void EditMaxSize(string username, int size);
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
}
|