using Nop.Core.Domain.Messages; namespace Nop.Services.Messages; /// /// Email sender /// public partial interface IEmailSender { /// /// Sends an email /// /// Email account to use /// Subject /// Body /// From address /// From display name /// To address /// To display name /// ReplyTo address /// ReplyTo display name /// BCC addresses list /// CC addresses list /// Attachment file path /// Attachment file name. If specified, then this file name will be sent to a recipient. Otherwise, "AttachmentFilePath" name will be used. /// Attachment download ID (another attachment) /// Headers /// A task that represents the asynchronous operation Task SendEmailAsync(EmailAccount emailAccount, string subject, string body, string fromAddress, string fromName, string toAddress, string toName, string replyToAddress = null, string replyToName = null, IEnumerable bcc = null, IEnumerable cc = null, string attachmentFilePath = null, string attachmentFileName = null, int attachedDownloadId = 0, IDictionary headers = null); }