C# Class SendGrid.Transport.SMTP.SmtpWrapper

Implementation of SmtpClient wrapper, separated to allow dependency injection
Inheritance: ISmtpClient
Afficher le fichier Open project: advancedrei/sendgridplus-csharp

Méthodes publiques

Méthode Description
Send ( MailMessage mime ) : void
SmtpWrapper ( string host, Int32 port, NetworkCredential credentials, SmtpDeliveryMethod deliveryMethod ) : System

Method Details

Send() public méthode

public Send ( MailMessage mime ) : void
mime System.Net.Mail.MailMessage
Résultat void

SmtpWrapper() public méthode

public SmtpWrapper ( string host, Int32 port, NetworkCredential credentials, SmtpDeliveryMethod deliveryMethod ) : System
host string
port System.Int32
credentials System.Net.NetworkCredential
deliveryMethod SmtpDeliveryMethod
Résultat System