Свойство | Тип | Описание | |
---|---|---|---|
Client | |||
Context | System.Web.Mvc.ControllerContext |
Метод | Описание | |
---|---|---|
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
|
Метод | Описание | |
---|---|---|
RaiseError ( |
Метод | Описание | |
---|---|---|
Mailer ( ) : System |
protected RaiseError ( |
||
ex | ||
Результат | 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 | |
Результат | 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 | |
Результат | System.Threading.Tasks.Task |
public ToHtml ( string viewPath, ViewDataDictionary viewData ) : string | ||
viewPath | string | Virtual Path to View : ~\Views\Mailer\Welcome |
viewData | ViewDataDictionary | object |
Результат | string |
public ToHtml ( string viewPath, object model ) : string | ||
viewPath | string | Virtual Path to View : ~\Views\Mailer\Welcome |
model | object | object |
Результат | string |
protected SmtpClient,System.Net.Mail Client | ||
Результат |