Method | Description | |
---|---|---|
EmailQueueManager ( IEmailService eServ, IUnitOfWork uow ) : System | ||
ProcessQueue ( EmailServerConfig cfg ) : void |
Get emails from EmailService and calle SendMail to send emails
|
|
SendEmail ( |
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 |
public EmailQueueManager ( IEmailService eServ, IUnitOfWork uow ) : System | ||
eServ | IEmailService | |
uow | IUnitOfWork | |
return | System |
public ProcessQueue ( EmailServerConfig cfg ) : void | ||
cfg | EmailServerConfig | |
return | void |
public SendEmail ( |
||
e | ||
cfg | EmailServerConfig | |
return | bool |