2026-02-24 20:44:16 +00:00
|
|
|
|
using Volo.Abp.Emailing;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Sozsoft.Sender.Mail;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Used to send emails with additional parameters.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public interface ISozsoftEmailSender : IEmailSender
|
|
|
|
|
|
{
|
2026-10-17 18:51:10 +00:00
|
|
|
|
Task<SendResult> SendEmailAsync(
|
2026-02-24 20:44:16 +00:00
|
|
|
|
string to,
|
|
|
|
|
|
KeyValuePair<string, string>? sender,
|
|
|
|
|
|
dynamic? @params,
|
|
|
|
|
|
string textContent,
|
|
|
|
|
|
string? subject = null,
|
|
|
|
|
|
Dictionary<string, string>? attachments = null,
|
|
|
|
|
|
bool IsBodyHtml = false);
|
2026-10-17 18:51:10 +00:00
|
|
|
|
Task<SendResult> SendEmailAsync(
|
2026-02-24 20:44:16 +00:00
|
|
|
|
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);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|