Use your test script as the MTA (instead of sendmail/qmail-inject/etc.)? Print the oks from your pseudo-MTA.
-- Gordon Henriksen IT Manager ICLUBcentral Inc. [EMAIL PROTECTED] > -----Original Message----- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Mark Stosberg > Sent: Tuesday, October 28, 2003 3:03 PM > To: [EMAIL PROTECTED] > Subject: Recommendations for testing e-mail output > > > Hello, > > I'm looking at writing a test for an e-mail that's generated > by Perl. > I'm wondering about the best way to do this. Here are some > possibilities > I have considered: > > - use Test::Mail. While it's designed for the task, I'm not > fond of the > complexity of setting up an e-mail address which sends the input to > a test script, which generates a log file that someone eventually > sees. > > - Test the message at the moment before it's sent. For this I thought > Test::AtRunTime might be a good choice. The output could be a > sent to a logfile that some other test script output could remind > me to read...or perhaps even open for me. > > - ?? > > I'm curious to know what others are doing to address this > that they have > been satisfied with. > > Thanks! > > Mark > > -- > . . . . . . . . . . . . . . . . . . . . . . . . . . . > Mark Stosberg Principal Developer > [EMAIL PROTECTED] Summersault, LLC > 765-939-9301 ext 202 database driven websites > . . . . . http://www.summersault.com/ . . . . . . . . > >