Email Sender
Represents a wrapper around the class SmtpClient. It provides an abstraction so you can interact with an smpt client with a single method.
Definition
Namespace: Tipi.Tools.Email
Assembly: Tipi.Tools.Email.dll
Package: Tipi.Tools.EmailSender
This class lets you interact with the SmtpClient email sender.
Methods
Send new email to the user.
SendEmailAsync(string to_email, string subject, string body)
Sends a new email, it takes as parameters 3 string values, the user email where you want to send the email to, the subject for the email and the HTML body.
Copied!
// Send new email
EmailSender.SendEmailAsync("UserEmail", "Subject", "Body");