$msg->attach( Type => "text/html", Id => "sample.html", Path => "/path/to/sample.html" );