struct MIME::Email

Defined in:

crystal-mime.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(from : String, to : String, subject : String, datetime : Time | Nil, body_html : String | Nil, body_text : String | Nil, attachments : Array(String), headers : Hash(String, String)) #

[View source]

Instance Method Detail

def attachments : Array(String) #

[View source]
def attachments=(attachments : Array(String)) #

[View source]
def body_html : String? #

[View source]
def body_html=(body_html : Nil | String) #

[View source]
def body_text : String? #

[View source]
def body_text=(body_text : Nil | String) #

[View source]
def datetime : Time? #

[View source]
def datetime=(datetime : Time | Nil) #

[View source]
def from : String #

[View source]
def from=(from : String) #

[View source]
def headers : Hash(String, String) #

[View source]
def headers=(headers : Hash(String, String)) #

[View source]
def subject : String #

[View source]
def subject=(subject : String) #

[View source]
def to : String #

[View source]
def to=(to : String) #

[View source]