Property | Type | Description | |
---|---|---|---|
SmtpClientFactory | Func |
Method | Description | |
---|---|---|
IsValid ( this email ) : bool |
Same as EmailAddress, but handles null gracefully. Returns false if email is null.
|
|
IsValidEmailFormat ( this emailAddress ) : bool |
Returns true if text matches email address regular expression pattern.
|
|
SendSmtpEmail ( bool isBodyHtml, NonEmptyString optioanlFromAddress, NonEmptyString optionalReplyToAddress, string subject, string body ) : void |
Sends SMTP email using .config file settings.
|
public static IsValidEmailFormat ( this emailAddress ) : bool | ||
emailAddress | this | |
return | bool |
public static SendSmtpEmail ( bool isBodyHtml, NonEmptyString optioanlFromAddress, NonEmptyString optionalReplyToAddress, string subject, string body ) : void | ||
isBodyHtml | bool | |
optioanlFromAddress | NonEmptyString | If null, .config from address value is used. |
optionalReplyToAddress | NonEmptyString | If null, reply-to address is the same as from address. |
subject | string | |
body | string | |
return | void |