use Email::Stuffer; 'Email::Stuffer' ->transport('SMTP', { host => '10.0.0.123' }) ->from('alice@example.net') ->to('bob@example.org') ->subject('Test') ->text_body("This is a test.\n") ->attach_file('wait_its_all_cake.jpeg') ->attach_file('always_has_been.gif') ->send_or_die;