Метод | Описание | |
---|---|---|
EmailSender ( String server, String login, String psw ) : System |
Initializes a new instance of the EmailSender class.
|
|
SendEmail ( String from, String fromEmail, IEnumerable |
Sends the email.
|
|
SendEmail ( String from, String fromEmail, IEnumerable |
Sends emails to the specified address.
|
|
SendEmail ( String from, String fromEmail, String to, String toEmail, String subject, String text, System.Net.Mail.AttachmentCollection attachPath, bool isHtmlFormat ) : bool |
Sends emails to the specified address.
|
Метод | Описание | |
---|---|---|
SendMail ( |
Sends the mail.
|
public EmailSender ( String server, String login, String psw ) : System | ||
server | String | The server. |
login | String | The login. |
psw | String | The PSW. |
Результат | System |
public SendEmail ( String from, String fromEmail, IEnumerable |
||
from | String | From. |
fromEmail | String | From email. |
toEmails | IEnumerable |
To emails. |
ccEmails | IEnumerable |
The cc emails. |
bccEmails | IEnumerable |
The BCC emails. |
subject | String | The subject. |
text | String | The text. |
attach | System.Net.Mail.Attachment | The attach. |
isHtmlFormat | bool | if set to |
Результат | bool |
public SendEmail ( String from, String fromEmail, IEnumerable |
||
from | String | From name. |
fromEmail | String | From email. |
toEmails | IEnumerable |
Collection of To emails. |
subject | String | Email subject |
text | String | Email body. |
attachPath | System.Net.Mail.AttachmentCollection | Path to the attachment. |
isHtmlFormat | bool | Send in html format. |
Результат | bool |
public SendEmail ( String from, String fromEmail, String to, String toEmail, String subject, String text, System.Net.Mail.AttachmentCollection attachPath, bool isHtmlFormat ) : bool | ||
from | String | From name. |
fromEmail | String | From email. |
to | String | To name. |
toEmail | String | To email. |
subject | String | Email subject |
text | String | Email body. |
attachPath | System.Net.Mail.AttachmentCollection | Path to the Attachments. |
isHtmlFormat | bool | Send in html format. |
Результат | bool |