C# Class Worki.Service.SendGridEmailService

Inheritance: IEmailService
Show file Open project: tah91/eworkyWebSite

Public Methods

Method Description
Deliver ( Object message ) : bool
PrepareMessage ( System.Net.Mail.MailAddress from, IEnumerable to, string subject, string body ) : Object
PrepareMessage ( System.Net.Mail.MailAddress from, System.Net.Mail.MailAddress to, string subject, string body ) : Object
PrepareMessageFromDefault ( System.Net.Mail.MailAddress to, string subject, string body ) : Object
PrepareMessageToDefault ( System.Net.Mail.MailAddress from, string subject, string body ) : Object

Method Details

Deliver() public method

public Deliver ( Object message ) : bool
message Object
return bool

PrepareMessage() public method

public PrepareMessage ( System.Net.Mail.MailAddress from, IEnumerable to, string subject, string body ) : Object
from System.Net.Mail.MailAddress
to IEnumerable
subject string
body string
return Object

PrepareMessage() public method

public PrepareMessage ( System.Net.Mail.MailAddress from, System.Net.Mail.MailAddress to, string subject, string body ) : Object
from System.Net.Mail.MailAddress
to System.Net.Mail.MailAddress
subject string
body string
return Object

PrepareMessageFromDefault() public method

public PrepareMessageFromDefault ( System.Net.Mail.MailAddress to, string subject, string body ) : Object
to System.Net.Mail.MailAddress
subject string
body string
return Object

PrepareMessageToDefault() public method

public PrepareMessageToDefault ( System.Net.Mail.MailAddress from, string subject, string body ) : Object
from System.Net.Mail.MailAddress
subject string
body string
return Object