Nucleus .Net Core CMS

Mail.IMailClient Interface

Namespace: Nucleus.Abstractions.Mail
Assembly: Nucleus.Abstractions.dll
Allows Nucleus core and extensions to sent email using a configured email provider.
Use Create to create an instance of this class.
Send<TModel> (MailTemplate template, <TModel> model, String to)
Parse the specified template, and send the resulting email to the specified to address.
Type Parameters
TModel
Parameters
Name Type
template Nucleus.Abstractions.Models.Mail.MailTemplate
model <TModel>
to String
Remarks
The send method needs to be defined directly here (in IMailClient) even though it is already defined in Mail.ICommunicationsClient<T0> to maintain backward compatibility with extensions which were compiled with references to versions before ICommunicationsClient was created.