Re: [PATCH] Add http as a mailer
[email protected] (Bram) Tue, 27 May 2008 00:18:05 +0200
| Newsgroups | perl.daily-build |
|---|---|
| Message-ID | <[email protected]> |
Quoting Abe Timmerman <[email protected]>: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Bram wrote: > | Attached is a patch that adds 'http' as a mailer. > > Thanks for that! > > | I added this because I did not want to send the reports from the system > | on which the smoke ran. > | This mainly because it includes usernames, ip addresses and a company > | names. > | > | This could also be useful to persons that are stuck behind a firewall > | that does not allow outgoing mail. > > How does this compare to Test::Reporter::HTTPGateway? > > I haven't looked into the matter, so I ask just to get some information. I wasn't aware of Test::Reporter::HTTPGateway so I'm not entirely sure =20 how it compares... From a quick look: The 'http' mailer posts the report to an URL, 'Test::Reporter::HTTPGateway' takes a HTTP requests and uses the =20 parameters in it to send the email. If someone is stuck behind a firewall then they can currently set up =20 Test::Reporter::HTTPGateway on another server but they have (I think!) =20 no (easy) way of sending the Smoke reports to it. It can currently not be used directly by the 'http' mailer. (Test::Reporter::HTTPGateway sends it to an address specified in the =20 code while the 'http' mailer add parameters for the To, Cc and Bcc) Kind regards, Bram