abstract class Carbon::Email
- Carbon::Email
- Reference
- Object
Included Modules
Defined in:
carbon/email.crMacro 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 Summary
-
#==(other : self)
Returns
true
if this reference is the same as other. - #after_send(result)
- #attachments
- #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)
Macros inherited from module Carbon::Callbacks
after_send(method_name)after_send(&block) after_send, before_send(method_name)
before_send before_send
Macro Detail
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true
if this reference is the same as other. Invokes same?
.
def deliverable=(deliverable : Bool)
#
Set this value to false
to prevent the email from
being delivered