Class: TMail::ReceivedHeader

Inherits:
StructuredHeader show all
Defined in:
lib/gems/tmail-1.2.3.1/lib/tmail/header.rb

Constant Summary collapse

PARSE_TYPE =
:RECEIVED

Constants inherited from HeaderField

HeaderField::FNAME_TO_CLASS

Constants included from TextUtils

TextUtils::ATOM_UNSAFE, TextUtils::CONTROL_CHAR, TextUtils::MESSAGE_ID, TextUtils::MIME_ENCODED, TextUtils::MONTH, TextUtils::NKF_FLAGS, TextUtils::PHRASE_UNSAFE, TextUtils::RFC2231_ENCODED, TextUtils::TOKEN_UNSAFE, TextUtils::WDAY, TextUtils::ZONESTR_TABLE

Instance Method Summary collapse

Methods inherited from StructuredHeader

#comments

Methods inherited from HeaderField

#accept, #body, #body=, #empty?, #illegal?, #initialize, #inspect, internal_new, new, new_from_port, newobj

Methods included from StrategyInterface

#accept_strategy, create_dest, #decoded, #encoded

Methods included from TextUtils

#atom_safe?, #decode_RFC2231, #decode_params, #join_domain, #message_id?, #mime_encoded?, #quote_atom, #quote_boundary, #quote_phrase, #quote_token, #time2str, #timezone_string_to_unixtime, #to_kcode, #token_safe?, #unquote

Constructor Details

This class inherits a constructor from TMail::HeaderField

Instance Method Details

#_forObject



544
545
546
547
# File 'lib/gems/tmail-1.2.3.1/lib/tmail/header.rb', line 544

def _for
  ensure_parsed
  @_for
end

#_for=(arg) ⇒ Object



549
550
551
552
# File 'lib/gems/tmail-1.2.3.1/lib/tmail/header.rb', line 549

def _for=( arg )
  ensure_parsed
  @_for = arg
end

#byObject



509
510
511
512
# File 'lib/gems/tmail-1.2.3.1/lib/tmail/header.rb', line 509

def by
  ensure_parsed
  @by
end

#by=(arg) ⇒ Object



514
515
516
517
# File 'lib/gems/tmail-1.2.3.1/lib/tmail/header.rb', line 514

def by=( arg )
  ensure_parsed
  @by = arg
end

#dateObject



554
555
556
557
# File 'lib/gems/tmail-1.2.3.1/lib/tmail/header.rb', line 554

def date
  ensure_parsed
  @date
end

#date=(arg) ⇒ Object



559
560
561
562
# File 'lib/gems/tmail-1.2.3.1/lib/tmail/header.rb', line 559

def date=( arg )
  ensure_parsed
  @date = arg
end

#fromObject



499
500
501
502
# File 'lib/gems/tmail-1.2.3.1/lib/tmail/header.rb', line 499

def from
  ensure_parsed
  @from
end

#from=(arg) ⇒ Object



504
505
506
507
# File 'lib/gems/tmail-1.2.3.1/lib/tmail/header.rb', line 504

def from=( arg )
  ensure_parsed
  @from = arg
end

#idObject



534
535
536
537
# File 'lib/gems/tmail-1.2.3.1/lib/tmail/header.rb', line 534

def id
  ensure_parsed
  @id
end

#id=(arg) ⇒ Object



539
540
541
542
# File 'lib/gems/tmail-1.2.3.1/lib/tmail/header.rb', line 539

def id=( arg )
  ensure_parsed
  @id = arg
end

#viaObject



519
520
521
522
# File 'lib/gems/tmail-1.2.3.1/lib/tmail/header.rb', line 519

def via
  ensure_parsed
  @via
end

#via=(arg) ⇒ Object



524
525
526
527
# File 'lib/gems/tmail-1.2.3.1/lib/tmail/header.rb', line 524

def via=( arg )
  ensure_parsed
  @via = arg
end

#withObject



529
530
531
532
# File 'lib/gems/tmail-1.2.3.1/lib/tmail/header.rb', line 529

def with
  ensure_parsed
  @with
end