public TransactionalContext(AuthenticationDetails auth, ICreateSendOptions options) { classicEmail = new ClassicEmailContext(auth, options); smartEmail = new SmartEmailContext(auth, options); messages = new MessagesContext(auth, options); statistics = new StatisticsContext(auth, options); }
public MessageBuilder(SmartEmailContext smart, ClassicEmailContext classic) { this.smart = smart; this.classic = classic; to = new List <EmailAddress>(); cc = new List <EmailAddress>(); bcc = new List <EmailAddress>(); attachments = new List <Attachment>(); images = new List <Image>(); }
public MessageBuilder(SmartEmailContext smart, ClassicEmailContext classic) { this.smart = smart; this.classic = classic; to = new List<EmailAddress>(); cc = new List<EmailAddress>(); bcc = new List<EmailAddress>(); attachments = new List<Attachment>(); images = new List<Image>(); }