Euclid has asked for the wisdom of the Perl Monks concerning the following question:
I would like to simulate an SMTP server for the purposes of testing our product. This will allow us to verify that an email message was sent, as well as being able to verify the contents of the email message, for testing purposes.
We use the Test::More module for writing automated tests.
I would like to be able to setup a machine that simulates the SMTP server. The machine name could then be specified as the mail server in our product, instead of using a real mail server.
The script will listen on port 25, pretending to be a mail server by conversing in accordance with the SMTP protocol. The script should save the data received to the local file system for later inspection.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Testing email send
by tachyon (Chancellor) on Oct 08, 2004 at 05:33 UTC | |
|
Re: Testing email send and Test::MockObject
by pernod (Chaplain) on Oct 08, 2004 at 07:57 UTC | |
|
Re: Testing email send
by hsinclai (Deacon) on Oct 08, 2004 at 02:39 UTC | |
|
Re: Testing email send
by doowah2004 (Monk) on Oct 08, 2004 at 03:28 UTC | |
|
Re: Testing email send
by Father Jack (Initiate) on Oct 08, 2004 at 05:25 UTC | |
|
Re: Testing email send
by TedPride (Priest) on Oct 08, 2004 at 06:16 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |