45 lines
1.3 KiB
C#
45 lines
1.3 KiB
C#
|
|
using Volo.Abp.Emailing;
|
|||
|
|
|
|||
|
|
namespace Kurs.Sender.Mail;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Used to send emails with additional parameters.
|
|||
|
|
/// </summary>
|
|||
|
|
public interface IKursEmailSender : IEmailSender
|
|||
|
|
{
|
|||
|
|
//KursEmailTemplate template
|
|||
|
|
Task<EmailSendResult> SendEmailAsync(
|
|||
|
|
string to,
|
|||
|
|
KeyValuePair<string, string>? sender,
|
|||
|
|
dynamic? @params,
|
|||
|
|
string textContent,
|
|||
|
|
string? subject = null,
|
|||
|
|
Dictionary<string, string>? attachments = null,
|
|||
|
|
bool IsBodyHtml = false);
|
|||
|
|
Task<EmailSendResult> SendEmailAsync(
|
|||
|
|
string[] to,
|
|||
|
|
KeyValuePair<string, string>? sender,
|
|||
|
|
dynamic? @params,
|
|||
|
|
string textContent,
|
|||
|
|
string? subject = null,
|
|||
|
|
Dictionary<string, string>? attachments = null,
|
|||
|
|
bool IsBodyHtml = false);
|
|||
|
|
Task QueueEmailAsync(
|
|||
|
|
string to,
|
|||
|
|
KeyValuePair<string, string>? sender,
|
|||
|
|
dynamic? @params,
|
|||
|
|
string textContent,
|
|||
|
|
string? subject = null,
|
|||
|
|
Dictionary<string, string>? attachments = null,
|
|||
|
|
bool IsBodyHtml = false);
|
|||
|
|
Task QueueEmailAsync(
|
|||
|
|
string[] to,
|
|||
|
|
KeyValuePair<string, string>? sender,
|
|||
|
|
dynamic? @params,
|
|||
|
|
string textContent,
|
|||
|
|
string? subject = null,
|
|||
|
|
Dictionary<string, string>? attachments = null,
|
|||
|
|
bool IsBodyHtml = false);
|
|||
|
|
|
|||
|
|
}
|