abstract class Carbon::Email

Included Modules

Defined in:

carbon/email.cr

Macro Summary

Instance Method Summary

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

macro attachment(value) #

[View source]
macro bcc(value) #

[View source]
macro cc(value) #

[View source]
macro configure #

[View source]
macro from(value) #

[View source]
macro header(key, value) #

[View source]
macro id_or_method(value) #

[View source]
macro reply_to(address) #

[View source]
macro subject(value) #

[View source]
macro to(value) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


[View source]
def after_send(result) #

[View source]
def attachments #

[View source]
def bcc #

[View source]
def before_send #

[View source]
def cc #

[View source]
def deliver #

[View source]
def deliver_later #

[View source]
def deliverable=(deliverable : Bool) #

Set this value to false to prevent the email from being delivered


[View source]
def deliverable? : Bool #

Set this value to false to prevent the email from being delivered


[View source]
abstract def from : Carbon::Address #

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

[View source]
def html_body #

[View source]
def html_layout(content_io : IO) #

[View source]
abstract def subject : String #

[View source]
def text_body #

[View source]
def text_layout(content_io : IO) #

[View source]
abstract def to : Array(Carbon::Address) #

[View source]