mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-09-30 06:03:12 +00:00
14 lines
499 B
C#
14 lines
499 B
C#
|
|
namespace SeaHaven.Services.Interfaces
|
||
|
|
{
|
||
|
|
/// <summary>
|
||
|
|
/// Hands a password reset email to a background sender, so the request that asked
|
||
|
|
/// for it does not wait on the mail provider and cannot be timed against one that
|
||
|
|
/// sent nothing.
|
||
|
|
/// </summary>
|
||
|
|
public interface IPasswordResetEmailQueue
|
||
|
|
{
|
||
|
|
/// <summary>Returns false when the queue is full and the email was dropped.</summary>
|
||
|
|
bool TryEnqueue(string emailTo, string subject, string body);
|
||
|
|
}
|
||
|
|
}
|