/// <summary>
 /// Initializes a new instance of the <see cref="MergeEmailPayload" /> class.
 /// </summary>
 /// <param name="mergeFile">CSV file containing recipients with optional merge fields.</param>
 /// <param name="content">Proper e-mail content.</param>
 /// <param name="options">E-mail configuration.</param>
 public MergeEmailPayload(MessageAttachment mergeFile = default(MessageAttachment), EmailContent content = default(EmailContent), Options options = default(Options))
 {
     this.MergeFile = mergeFile;
     this.Content   = content;
     this.Options   = options;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EmailMessageData" /> class.
 /// </summary>
 /// <param name="recipients">List of recipients (visible to others).</param>
 /// <param name="content">Proper e-mail content.</param>
 /// <param name="options">E-mail configuration.</param>
 public EmailMessageData(List <EmailRecipient> recipients = default(List <EmailRecipient>), EmailContent content = default(EmailContent), Options options = default(Options))
 {
     this.Recipients = recipients;
     this.Content    = content;
     this.Options    = options;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EmailTransactionalMessageData" /> class.
 /// </summary>
 /// <param name="recipients">List of transactional recipients.</param>
 /// <param name="content">Proper e-mail content.</param>
 /// <param name="options">E-mail configuration.</param>
 public EmailTransactionalMessageData(TransactionalRecipient recipients = default(TransactionalRecipient), EmailContent content = default(EmailContent), Options options = default(Options))
 {
     this.Recipients = recipients;
     this.Content    = content;
     this.Options    = options;
 }