Méthode | Description | |
---|---|---|
AddFindReplaceItem ( string find, string replace ) : void |
Use this to store strings that you want to find and replace in the e-mail template.
|
|
ContainsItem ( string findAndReplaceItem ) : bool |
Determine if the email ttemplate contains a given short code (something replaceable).
|
|
H3EmailTemplate ( string templatePath ) : System |
Constructor accepts the path to a template file on disk.
|
|
PrepareAndSendMail ( string sender, string senderName, string recipient, string ccList, string bccList, string subject, Halide bodyFormat ) : string |
Performs Find and Replace on the e-mail template file used in constructor, then sends the e-mail.
|
|
PrepareAndSendMail ( string sender, string senderName, string recipient, string ccList, string bccList, string subject, Halide bodyFormat, |
Performs Find and Replace on the e-mail template file used in constructor, then sends the e-mail.
|
Méthode | Description | |
---|---|---|
FindAndReplace ( ) : void |
Returns the e-mail template contents after finding and replacing values that were set using AddFindReplaceItem.
|
public AddFindReplaceItem ( string find, string replace ) : void | ||
find | string | |
replace | string | |
Résultat | void |
public ContainsItem ( string findAndReplaceItem ) : bool | ||
findAndReplaceItem | string | String to search for. |
Résultat | bool |
public H3EmailTemplate ( string templatePath ) : System | ||
templatePath | string | |
Résultat | System |
public PrepareAndSendMail ( string sender, string senderName, string recipient, string ccList, string bccList, string subject, Halide bodyFormat ) : string | ||
sender | string | The e-mail address of the sender |
senderName | string | The name of the sender |
recipient | string | The e-mail of the recipient |
ccList | string | List of recipients to get copied |
bccList | string | List of recipients to get blind copied |
subject | string | The subject of the msg |
bodyFormat | Halide | MailFormat value for message body format. |
Résultat | string |
public PrepareAndSendMail ( string sender, string senderName, string recipient, string ccList, string bccList, string subject, Halide bodyFormat, |
||
sender | string | The e-mail address of the sender |
senderName | string | The name of the sender |
recipient | string | The e-mail of the recipient |
ccList | string | List of recipients to get copied |
bccList | string | List of recipients to get blind copied |
subject | string | The subject of the msg |
bodyFormat | Halide | MailFormat value for message body format. |
attachments | Attachments to send with the email. | |
Résultat | string |