Struct mailgun_v3::email::Message
source · pub struct Message {
pub to: Vec<EmailAddress>,
pub cc: Vec<EmailAddress>,
pub bcc: Vec<EmailAddress>,
pub subject: String,
pub body: MessageBody,
pub template: Option<String>,
pub options: Vec<SendOptions>,
pub attachments: Vec<Attachment>,
pub inline: Vec<Attachment>,
}
Expand description
! An email to send through Mailgun. Won’t send without a body
Fields§
§to: Vec<EmailAddress>
§cc: Vec<EmailAddress>
§bcc: Vec<EmailAddress>
§subject: String
§body: MessageBody
§template: Option<String>
§options: Vec<SendOptions>
§attachments: Vec<Attachment>
§inline: Vec<Attachment>