class Postmark::Email

Included Modules

Defined in:

postmark_structs.cr

Constructors

Instance Method Summary

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) #

[View source]
def self.new(pull : JSON::PullParser) #

Instance Method Detail

def attachments : Array(Attachement) | Nil #

def bcc : String | Nil #

def cc : String | Nil #

def from : String #

def headers : Array(NamedTuple(name: String, value: String)) | Nil #

def html_body : String | Nil #

def message_stream : String | Nil #

def metadata : Hash(String, String) | Nil #

def reply_to : String | Nil #

def subject : String | Nil #

def tag : String | Nil #

def text_body : String | Nil #

def to : String #

def track_links : Bool | Nil #

def track_opens : Bool | Nil #

def validate #

[View source]