Used for debugging, this displays the data to the file named in
$Mail::Mailer::testfile::config{outfile} which defaults to a file
named mailer.testfile. No mail is ever sent.
Mail::Mailer will search for executables in the above order. The
default mailer will be the first one found.
new can optionally be given a $type, which
is one sendmail, mail, ... given above.
open is given a reference to a 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']).