123456789101112131415161718192021222324252627282930313233 |
- using System;
- using System.Collections.Generic;
- namespace InABox.Mail
- {
- public interface ICoreMailSummary
- {
- string ID { get; }
- DateTime Date { get; }
- string From { get; set; }
- string Subject { get; set; }
- IEnumerable<string> To { get; set; }
- }
- public interface ICoreMailMessage : ICoreMailSummary
- {
- IEnumerable<Tuple<string, byte[]>> Attachments { get; set; }
- IEnumerable<string> BCC { get; set; }
- string Body { get; set; }
- bool IsHTML { get; set; }
- IEnumerable<string> CC { get; set; }
- void Save();
- }
- }
|