METHODS

Constructors

$class->new( PAIRS )

A list of header fields (provided as key-value PAIRS) can be used to initialize the object.

Header fields

$obj->add( FIELDNAME, VALUES )

Add values to the list of defined values for the FIELDNAME.

$obj->bcc( VALUES )
$obj->cc( VALUES )
$obj->delete( FIELDNAME )
$obj->set( FIELDNAME, VALUES )

VALUES will replace the old values for the FIELDNAME. Returned is the LIST of values after modification.

$obj->subject( VALUES )
$obj->to( VALUES )

Sending

$obj->open( OPTIONS )

The OPTIONS are used to initiate a mailer object via Mail::Mailer::new(). Then Mail::Mailer::open() is called with the knowledge collected in this Mail::Send object.