C# 클래스 Framework.Core.Utilities.Email.EmailSender

Summary description for OutsideMailer.
파일 보기 프로젝트 열기: coreframework/Core-Framework 1 사용 예제들

공개 메소드들

메소드 설명
EmailSender ( String server, String login, String psw ) : System

Initializes a new instance of the EmailSender class.

SendEmail ( String from, String fromEmail, IEnumerable toEmails, IEnumerable ccEmails, IEnumerable bccEmails, String subject, String text, System.Net.Mail.Attachment attach, bool isHtmlFormat ) : bool

Sends the email.

SendEmail ( String from, String fromEmail, IEnumerable toEmails, String subject, String text, System.Net.Mail.AttachmentCollection attachPath, bool isHtmlFormat ) : bool

Sends emails to the specified address.

SendEmail ( String from, String fromEmail, String to, String toEmail, String subject, String text, System.Net.Mail.AttachmentCollection attachPath, bool isHtmlFormat ) : bool

Sends emails to the specified address.

비공개 메소드들

메소드 설명
SendMail ( MailMessage message ) : bool

Sends the mail.

메소드 상세

EmailSender() 공개 메소드

Initializes a new instance of the EmailSender class.
public EmailSender ( String server, String login, String psw ) : System
server String The server.
login String The login.
psw String The PSW.
리턴 System

SendEmail() 공개 메소드

Sends the email.
public SendEmail ( String from, String fromEmail, IEnumerable toEmails, IEnumerable ccEmails, IEnumerable bccEmails, String subject, String text, System.Net.Mail.Attachment attach, bool isHtmlFormat ) : bool
from String From.
fromEmail String From email.
toEmails IEnumerable To emails.
ccEmails IEnumerable The cc emails.
bccEmails IEnumerable The BCC emails.
subject String The subject.
text String The text.
attach System.Net.Mail.Attachment The attach.
isHtmlFormat bool if set to true [is HTML format].
리턴 bool

SendEmail() 공개 메소드

Sends emails to the specified address.
public SendEmail ( String from, String fromEmail, IEnumerable toEmails, String subject, String text, System.Net.Mail.AttachmentCollection attachPath, bool isHtmlFormat ) : bool
from String From name.
fromEmail String From email.
toEmails IEnumerable Collection of To emails.
subject String Email subject
text String Email body.
attachPath System.Net.Mail.AttachmentCollection Path to the attachment.
isHtmlFormat bool Send in html format.
리턴 bool

SendEmail() 공개 메소드

Sends emails to the specified address.
public SendEmail ( String from, String fromEmail, String to, String toEmail, String subject, String text, System.Net.Mail.AttachmentCollection attachPath, bool isHtmlFormat ) : bool
from String From name.
fromEmail String From email.
to String To name.
toEmail String To email.
subject String Email subject
text String Email body.
attachPath System.Net.Mail.AttachmentCollection Path to the Attachments.
isHtmlFormat bool Send in html format.
리턴 bool