mirror of
https://git.teknik.io/Teknikode/Teknik.git
synced 2023-08-02 14:16:22 +02:00
28 lines
624 B
C#
28 lines
624 B
C#
using System;
|
|
|
|
namespace Teknik.MailService
|
|
{
|
|
public interface IMailService
|
|
{
|
|
bool AccountExists(string username);
|
|
|
|
DateTime LastActive(string username);
|
|
|
|
bool Enabled(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);
|
|
|
|
void EnableAccount(string username);
|
|
|
|
void DisableAccount(string username);
|
|
|
|
void DeleteAccount(string username);
|
|
}
|
|
}
|