123456789_123456789_123456789_123456789_123456789_

Class: Net::IMAP::FetchData

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Struct
Instance Chain:
self, Struct
Inherits: Struct
  • Object
Defined in: lib/net/imap.rb

Overview

FetchData represents the contents of the FETCH response.

Fields:

seqno

Returns the message sequence number. (Note: not the unique identifier, even for the UID command response.)

attr

Returns a hash. Each key is a data item name, and each value is its value.

The current data items are:

BODY

A form of BODYSTRUCTURE without extension data.

BODY.PEEK.

RFC822.SIZE

A number expressing the [RFC-822] size of the message.

RFC822.TEXT

Equivalent to BODY.

UID

A number expressing the unique identifier of the message.

Instance Attribute Summary

  • #attr rw

    FetchData represents the contents of the FETCH response.

  • #seqno rw

    FetchData represents the contents of the FETCH response.

Instance Attribute Details

#attr (rw)

FetchData represents the contents of the FETCH response.

Fields:

seqno

Returns the message sequence number. (Note: not the unique identifier, even for the UID command response.)

attr

Returns a hash. Each key is a data item name, and each value is its value.

The current data items are:

BODY

A form of BODYSTRUCTURE without extension data.

BODY.PEEK.

RFC822.SIZE

A number expressing the [RFC-822] size of the message.

RFC822.TEXT

Equivalent to BODY.

UID

A number expressing the unique identifier of the message.

[ GitHub ]

  
# File 'lib/net/imap.rb', line 1863

FetchData = Struct.new(:seqno, :attr)

#seqno (rw)

FetchData represents the contents of the FETCH response.

Fields:

seqno

Returns the message sequence number. (Note: not the unique identifier, even for the UID command response.)

attr

Returns a hash. Each key is a data item name, and each value is its value.

The current data items are:

BODY

A form of BODYSTRUCTURE without extension data.

BODY.PEEK.

RFC822.SIZE

A number expressing the [RFC-822] size of the message.

RFC822.TEXT

Equivalent to BODY.

UID

A number expressing the unique identifier of the message.

[ GitHub ]

  
# File 'lib/net/imap.rb', line 1863

FetchData = Struct.new(:seqno, :attr)