Skip to content

Instantly share code, notes, and snippets.

@martinnormark
Created July 28, 2014 20:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save martinnormark/ec729417dd7d8ae96bb8 to your computer and use it in GitHub Desktop.
Save martinnormark/ec729417dd7d8ae96bb8 to your computer and use it in GitHub Desktop.
Class for storing e-mails posted by Mailgun callbacks.
public class EmailUpload
{
[Required]
public string FromEmail { get; set; }
[Required]
public string RecipientEmail { get; set; }
[Required]
public string Subject { get; set; }
public string BodyPlain { get; set; }
public string StrippedText { get; set; }
public string StrippedSignature { get; set; }
public string BodyHtml { get; set; }
public string StrippedHtml { get; set; }
public int? AttachmentCount { get; set; }
public long TimeStampSeconds { get; set; }
public DateTime TimeStamp { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment