Ruby Mail Functions

EditRocket provides the following information on Mail functions in the Ruby source code builder.

body() - Return the message body as an Array of lines

header() - Return the headers as a Hash.

new(f) - 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.