Class Mail::Message
In: /home/matt/rubymail/mail/message.rb
Parent: Object
The Mail::Message provides a way to read a RFC2822 message from an input stream and manipulate the header and body.
Methods
body    body=    each    header    new    to_s   
Public Class methods
new()
Create a new, empty, Mail::Message.
Public Instance methods
body()
Returns the body of the message as a string.

See also #header.

body=(s)
Sets the body of the message as a string.
header()
Returns the Mail::Header object.

See also #body.

to_s()
Returns the entire message in a single string.
each() {|line| ...}
Call the supplied block for each line of the message. Each line will contain a trailing newline (\n).