<PackageReference Include="Relativity.Server.Utility.SDK" Version="5000.0.0" />

SmtpClientWrapper

public class SmtpClientWrapper
Wraps SmtpClient.
public virtual ICredentialsByHost Credentials { get; set; }

The credentials used by the underlying SmtpClient.

public virtual bool EnableSsl { get; set; }

A boolean indicator of whether or not the underlying SmtpClient requires SSL.

protected SmtpClientWrapper()

public SmtpClientWrapper(string host, int port)

Initializes a new instance of SmtpClientWrapper.

public virtual void Send(MailMessage mail)

Sends an email.