Method | Description | |
---|---|---|
CreateMessage ( string to, string cc, string bcc, string from, string subject, string body, bool isBodyHtml ) : |
Creates and configures a MailMessage.
|
|
LenientIsEmailAddress ( string email ) : bool |
Validates an email address according to lenient rules.
|
|
SendEmail ( |
Sends the given message via email using the given SMTP server.
|
|
StrictIsEmailAddress ( string email ) : bool |
Validates an email address according to strict rules.
|
Method | Description | |
---|---|---|
CreateLenientEmailAddressMatcher ( ) : |
||
CreateStrictEmailAddressMatcher ( ) : |
public static CreateMessage ( string to, string cc, string bcc, string from, string subject, string body, bool isBodyHtml ) : |
||
to | string | The value for |
cc | string | |
bcc | string | The value for |
from | string | The value for |
subject | string | The value for |
body | string | The value for |
isBodyHtml | bool | |
return |
public static LenientIsEmailAddress ( string email ) : bool | ||
string | The email address to validate | |
return | bool |
public static SendEmail ( |
||
message | The message to send. | |
smtpServer | string | The SMTP server to send the message through. |
return | void |
public static StrictIsEmailAddress ( string email ) : bool | ||
string | The email address to validate. | |
return | bool |