abstract class BaseEmail

Included Modules

Direct Known Subclasses

Defined in:

emails/base_email.cr

Constant Summary

HABITAT_SETTINGS = [{decl: adapter : Carbon::Adapter, example: nil, validation: nil}, {decl: deliver_later_strategy : Carbon::DeliverLaterStrategy = Carbon::SpawnStrategy.new, example: nil, validation: nil}] of Nil

Constructors

Class Method Summary

Macro Summary

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Class Method Detail

def self.adapter #

[View source]
def self.configure(&) #

def self.settings #

Macro Detail

macro layout(template_name) #

Specify an HTML template layout

templates html
layout email_layout

[View source]
macro templates(*content_types) #

[View source]

Instance Method Detail

def from : Carbon::Address #

[View source]
def sender #

[View source]
def settings #

def subject : String #

[View source]
def text_body #

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

[View source]