abstract class Carbon::Email
- Carbon::Email
- Reference
- Object
Included Modules
Defined in:
carbon/email.crInstance Method Summary
-
#==(other : self)
Returns
true
if this reference is the same as other. - #after_send(result)
- #attachments : Array({file_path: String, cid: String, file_name: String?, mime_type: String?} | {file_path: String, file_name: String?, mime_type: String?} | {io: IO, cid: String, file_name: String, mime_type: String?} | {io: IO, file_name: String, mime_type: String?})
- #bcc
- #before_send
- #cc
- #deliver
- #deliver_later
-
#deliverable=(deliverable : Bool)
Set this value to
false
to prevent the email from being delivered -
#deliverable? : Bool
Set this value to
false
to prevent the email from being delivered - #from : Carbon::Address
- #headers : Hash(String, String)
- #html_body
- #html_layout(content_io : IO)
- #subject : String
- #text_body
- #text_layout(content_io : IO)
- #to : Array(Carbon::Address)
Macro Summary
- attachment(value)
- bcc(value)
- cc(value)
- configure
- from(value)
- header(key, value)
- id_or_method(value)
- reply_to(address)
- subject(value)
- to(value)
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true
if this reference is the same as other. Invokes same?
.
def attachments : Array({file_path: String, cid: String, file_name: String?, mime_type: String?} | {file_path: String, file_name: String?, mime_type: String?} | {io: IO, cid: String, file_name: String, mime_type: String?} | {io: IO, file_name: String, mime_type: String?})
#
def deliverable=(deliverable : Bool)
#
Set this value to false
to prevent the email from
being delivered