C# 클래스 MWS.Core.EmailQueueManager

상속: IEmailQueueManager
파일 보기 프로젝트 열기: SavageLearning/Machete 1 사용 예제들

공개 메소드들

메소드 설명
EmailQueueManager ( IEmailService eServ, IUnitOfWork uow ) : System
ProcessQueue ( EmailServerConfig cfg ) : void

Get emails from EmailService and calle SendMail to send emails

SendEmail ( Email e, EmailServerConfig cfg ) : bool

create SmtpClient, create mail message, and send message. Catches exceptions and puts them in QueueManager.ExceptionStack.

getDiagnostics ( ) : string
getExceptions ( ) : string

String of exception messages, 1 per line

getSent ( ) : string

메소드 상세

EmailQueueManager() 공개 메소드

public EmailQueueManager ( IEmailService eServ, IUnitOfWork uow ) : System
eServ IEmailService
uow IUnitOfWork
리턴 System

ProcessQueue() 공개 메소드

Get emails from EmailService and calle SendMail to send emails
public ProcessQueue ( EmailServerConfig cfg ) : void
cfg EmailServerConfig
리턴 void

SendEmail() 공개 메소드

create SmtpClient, create mail message, and send message. Catches exceptions and puts them in QueueManager.ExceptionStack.
public SendEmail ( Email e, EmailServerConfig cfg ) : bool
e Machete.Domain.Email
cfg EmailServerConfig
리턴 bool

getDiagnostics() 공개 메소드

public getDiagnostics ( ) : string
리턴 string

getExceptions() 공개 메소드

String of exception messages, 1 per line
public getExceptions ( ) : string
리턴 string

getSent() 공개 메소드

public getSent ( ) : string
리턴 string