Class: TMail::ReceivedHeader

Inherits:
StructuredHeader show all
Defined in:
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?, #clean_date, #decode_RFC2231, #decode_params, #join_domain, #message_id?, #mime_encoded?, #quote_atom, #quote_boundary, #quote_parentheses, #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



545
546
547
548
# File 'lib/tmail/header.rb', line 545

def _for
  ensure_parsed
  @_for
end

#_for=(arg) ⇒ Object



550
551
552
553
# File 'lib/tmail/header.rb', line 550

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

#byObject



510
511
512
513
# File 'lib/tmail/header.rb', line 510

def by
  ensure_parsed
  @by
end

#by=(arg) ⇒ Object



515
516
517
518
# File 'lib/tmail/header.rb', line 515

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

#dateObject



555
556
557
558
# File 'lib/tmail/header.rb', line 555

def date
  ensure_parsed
  @date
end

#date=(arg) ⇒ Object



560
561
562
563
# File 'lib/tmail/header.rb', line 560

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

#fromObject



500
501
502
503
# File 'lib/tmail/header.rb', line 500

def from
  ensure_parsed
  @from
end

#from=(arg) ⇒ Object



505
506
507
508
# File 'lib/tmail/header.rb', line 505

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

#idObject



535
536
537
538
# File 'lib/tmail/header.rb', line 535

def id
  ensure_parsed
  @id
end

#id=(arg) ⇒ Object



540
541
542
543
# File 'lib/tmail/header.rb', line 540

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

#viaObject



520
521
522
523
# File 'lib/tmail/header.rb', line 520

def via
  ensure_parsed
  @via
end

#via=(arg) ⇒ Object



525
526
527
528
# File 'lib/tmail/header.rb', line 525

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

#withObject



530
531
532
533
# File 'lib/tmail/header.rb', line 530

def with
  ensure_parsed
  @with
end