METHODS

Constructors

$class->new( TYPE, ARGS )

The TYPE is one of the back-end sender implementations, as described in the DESCRIPTION chapter of this manual page. The ARGS are passed to that back-end.

$obj->open( HASH )

The HASH consists of key and value pairs, the key being the name of the header field (eg, To), and the value being the corresponding contents of the header field. The value can either be a scalar (eg, gnat@frii.com) or a reference to an array of scalars (< eg, ['gnat@frii.com', 'Tim.Bunce@ig.co.uk'] >).