Class: TMail::HeaderField

Class | TMail::HeaderField
In: | lib/action_mailer/vendor/tmail-1.1.0/tmail/header.rb
Parent: | Object

### Methods

accept body body= empty? illegal? inspect internal_new new new new_from_port

### Included Modules

TextUtils StrategyInterface

### Constants

FNAME_TO_CLASS | = | { 'date' => DateTimeHeader, 'resent-date' => DateTimeHeader, 'to' => AddressHeader, 'cc' => AddressHeader, 'bcc' => AddressHeader, 'from' => AddressHeader, 'reply-to' => AddressHeader, 'resent-to' => AddressHeader, 'resent-cc' => AddressHeader, 'resent-bcc' => AddressHeader, 'resent-from' => AddressHeader, 'resent-reply-to' => AddressHeader, 'sender' => SingleAddressHeader, 'resent-sender' => SingleAddressHeader, 'return-path' => ReturnPathHeader, 'message-id' => MessageIdHeader, 'resent-message-id' => MessageIdHeader, 'in-reply-to' => ReferencesHeader, 'received' => ReceivedHeader, 'references' => ReferencesHeader, 'keywords' => KeywordsHeader, 'encrypted' => EncryptedHeader, 'mime-version' => MimeVersionHeader, 'content-type' => ContentTypeHeader, 'content-transfer-encoding' => ContentTransferEncodingHeader, 'content-disposition' => ContentDispositionHeader, 'content-id' => MessageIdHeader, 'subject' => UnstructuredHeader, 'comments' => UnstructuredHeader, 'content-description' => UnstructuredHeader

### External Aliases

new | -> | newobj

### Public Class methods

internal_new( name, conf )
new( body, conf, intern = false )
new( name, body, conf = DEFAULT_CONFIG )
new_from_port( port, name, conf = DEFAULT_CONFIG )

### Public Instance methods

accept( strategy )
body()
body=( str )
empty?()
illegal?()
inspect()

[Validate]