Class EmailService
Inheritance
System.Object
EmailService
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EmailLib
Assembly: EmailLib.dll
Syntax
public class EmailService
Constructors
| Improve this Doc View SourceEmailService(SmtpServerConfig)
Declaration
public EmailService(SmtpServerConfig smtpServerConfig)
Parameters
Type | Name | Description |
---|---|---|
SmtpServerConfig | smtpServerConfig |
Properties
| Improve this Doc View SourceSmtpConfig
Declaration
public SmtpServerConfig SmtpConfig { get; }
Property Value
Type | Description |
---|---|
SmtpServerConfig |
Methods
| Improve this Doc View SourceSendEmail(MailMessage)
Declaration
public void SendEmail(MailMessage mailMessage)
Parameters
Type | Name | Description |
---|---|---|
System.Net.Mail.MailMessage | mailMessage |