Class

Mail

Extends:

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.
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.