class Mail::OptionalField
Overview
The field names of any optional-field MUST NOT be identical to any
field name specified elsewhere in this standard.
optional-field = field-name ":" unstructured CRLF
Defined in:
mail/fields/optional_field.cr
Class Method Summary
parse
parse
new(name, value, charset = "UTF-8")
new
Instance methods inherited from class Mail::CommonField
charset : String | Nil
charset,
charset=(charset : String | Nil)
charset=,
decoded
decoded,
default
default,
do_decode
do_decode,
do_encode
do_encode,
element
element,
element=(element)
element=,
encoded
encoded,
errors : Array(Array(Mail::Field::ParseError | String))
errors,
errors=(errors : Array(Array(String | Field::ParseError)))
errors=,
main_type
main_type,
mime_type
mime_type,
name : String | Nil
name,
name=(name : String | Nil)
name=,
parameters
parameters,
parse
parse,
responsible_for?(field_name)
responsible_for?,
singular?
singular?,
to_s
to_s,
value : String | Nil
value,
value=(value)
value=
Constructor methods inherited from class Mail::CommonField
new(value = nil, charset = nil)
new
Class methods inherited from class Mail::CommonField
parse(*args)
parse,
singular?
singular?
Class Method Detail
def self.
field_name : String
#