Go to the source code of this file.
Namespaces | |
namespace | MarekMailSystem2 |
namespace | System.Collections.ObjectModel |
namespace | System.Net.Mail |
namespace | System.Text.RegularExpressions |
Classes | |
class | MarekMailSystem2.Email |
Email class represents an e-mail. It has properties like: From, To, Subject, Body etc. To send an e-mail, pass an instance of this class to SmtpEmailClient.Send(Email) method. String properties with email adresses can contain display name like here: "display name <user@host>" . You variables like $FOO in email properties to create email template. Then you can use Email.ProcessTemplate(Directory<string,string> context) to get email with variables like $FOO changed to context[FOO] . More... |