The Mail class represents an internet mail message (as per RFC822, RFC2822) with headers and a body.
| Public Methods | |
|---|---|
| [] | Return the header corresponding to field. |
| body | Return the message body as an Array of lines |
| header | Return the headers as a Hash. |
| new | Create a new Mail where f is either a stream which responds to gets(), or a path to a file. If f is a path it will be opened. |
<code/>and<pre/>for code samples.