class Postmark::Email
- Postmark::Email
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
postmark_structs.crConstructors
- .new(from : String, to : String, html_body : String | Nil = nil, text_body : String | Nil = nil, cc : String | Nil = nil, bcc : String | Nil = nil, subject : String | Nil = nil, tag : String | Nil = nil, reply_to : String | Nil = nil, headers : Array(NamedTuple(name: String, value: String)) | Nil = nil, track_opens : Bool | Nil = nil, track_links : Bool | Nil = nil, metadata : Hash(String, String) | Nil = nil, attachments : Array(Attachement) | Nil = nil, message_stream : String | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #attachments : Array(Attachement) | Nil
- #bcc : String | Nil
- #cc : String | Nil
- #from : String
- #headers : Array(NamedTuple(name: String, value: String)) | Nil
- #html_body : String | Nil
- #message_stream : String | Nil
- #metadata : Hash(String, String) | Nil
- #reply_to : String | Nil
- #subject : String | Nil
- #tag : String | Nil
- #text_body : String | Nil
- #to : String
- #track_links : Bool | Nil
- #track_opens : Bool | Nil
- #validate
Constructor Detail
def self.new(from : String, to : String, html_body : String | Nil = nil, text_body : String | Nil = nil, cc : String | Nil = nil, bcc : String | Nil = nil, subject : String | Nil = nil, tag : String | Nil = nil, reply_to : String | Nil = nil, headers : Array(NamedTuple(name: String, value: String)) | Nil = nil, track_opens : Bool | Nil = nil, track_links : Bool | Nil = nil, metadata : Hash(String, String) | Nil = nil, attachments : Array(Attachement) | Nil = nil, message_stream : String | Nil = nil)
#