struct Marten::Emailing::Address
- Marten::Emailing::Address
- Struct
- Value
- Object
Overview
Represents an email address.
Included Modules
Defined in:
marten/emailing/address.crmarten/template/ext/marten/emailing/address.cr
Constructors
Class Method Summary
-
.valid?(value : String) : Bool
Returns
true
of the passed string corresponds to a valid email address.
Instance Method Summary
- #==(other : self)
-
#address : String
Returns the address part of the email address.
-
#name : String?
Returns the name part of the email address.
- #to_s(io)
Macros inherited from module Marten::Template::CanDefineTemplateAttributes
template_attributes(*names)
template_attributes
Constructor Detail
Class Method Detail
def self.valid?(value : String) : Bool
#
Returns true
of the passed string corresponds to a valid email address.