Property | Type | Description | |
---|---|---|---|
Client | |||
Context | System.Web.Mvc.ControllerContext |
Method | Description | |
---|---|---|
SendAsync ( string viewPath, object model, string subject, System.Net.Mail.MailAddress recipients ) : System.Threading.Tasks.Task |
Sends The Email !
|
|
SendAsync ( string viewPath, object model, string subject, System.Net.Mail.MailAddress replyTo, System.Net.Mail.MailAddress recipients ) : System.Threading.Tasks.Task |
Sends The Email !
|
|
ToHtml ( string viewPath, ViewDataDictionary viewData ) : string |
Generates HTML Body
|
|
ToHtml ( string viewPath, object model ) : string |
Generates HTML Body
|
Method | Description | |
---|---|---|
RaiseError ( |
Method | Description | |
---|---|---|
Mailer ( ) : System |
protected RaiseError ( |
||
ex | ||
return | void |
public SendAsync ( string viewPath, object model, string subject, System.Net.Mail.MailAddress recipients ) : System.Threading.Tasks.Task | ||
viewPath | string | Virtual Path to View : ~\Views\Mailer\Welcome |
model | object | object |
subject | string | Title |
recipients | System.Net.Mail.MailAddress | |
return | System.Threading.Tasks.Task |
public SendAsync ( string viewPath, object model, string subject, System.Net.Mail.MailAddress replyTo, System.Net.Mail.MailAddress recipients ) : System.Threading.Tasks.Task | ||
viewPath | string | Virtual Path to View : ~\Views\Mailer\Welcome |
model | object | object |
subject | string | Title |
replyTo | System.Net.Mail.MailAddress | |
recipients | System.Net.Mail.MailAddress | |
return | System.Threading.Tasks.Task |
public ToHtml ( string viewPath, ViewDataDictionary viewData ) : string | ||
viewPath | string | Virtual Path to View : ~\Views\Mailer\Welcome |
viewData | ViewDataDictionary | object |
return | string |
public ToHtml ( string viewPath, object model ) : string | ||
viewPath | string | Virtual Path to View : ~\Views\Mailer\Welcome |
model | object | object |
return | string |
protected SmtpClient,System.Net.Mail Client | ||
return |