$mailer
->open(\%hashref)
- Sends message headers to the mail program. The headers are passed via a reference to a hash, where each key is the name of a header and the value is the contents of the header field. The value can be either a scalar or a reference to an array of scalars.