Development of smtp-server for windows

I am looking for a free smptp test server that can save emails in files for my development tests. Since my development environment is windows, I prefer checking the mail server for working on Windows, but I can consider installing any other Linux-based alternatives.

+36
windows smtp testing freeware
Aug 30 '09 at 8:29
source share
7 answers

There are some:

Or you can also configure it in web.config to simply save emails to the file system (a configuration option of what "silky" suggested in the code):

<system.net> <mailSettings> <smtp deliveryMethod="SpecifiedPickupDirectory"> <specifiedPickupDirectory pickupDirectoryLocation="c:\temp\mails\"/> </smtp> </mailSettings> </system.net> 

Mark

+35
Aug 30 '09 at 8:43
source share

I know this is an old post, but I also know about http://smtp4dev.codeplex.com/ , which I would also recommend. He sits on the taskbar and then appears when you send him emails. This allows you to study email at a fairly great depth.

+23
Mar 01 '11 at 17:12
source share

- Change:

This tip is only valid if you are using .NET

Check this one . If you install it appropriately, it will just save your emails to disk :)

 SmtpClient client = ...; client.PickupDirectoryLocation = @"c:\foo\emails\"; //" client.DeliveryMethod = SmtpDeliveryMethod.SpecifiedPickupDirectory; 

- Change

Just in case, some people do not get this, this means that you do not need another SMTP server for test / dev, you just set the variable accordingly.

- Change

For completeness, as shown below, marc_s , you can set this in configurations with:

 <system.net> <mailSettings> <smtp deliveryMethod="SpecifiedPickupDirectory"> <specifiedPickupDirectory pickupDirectoryLocation="c:\foo\emails\" /> </smtp> </mailSettings> </system.net> 
+12
Aug 30 '09 at 8:38
source share

The smtpd Python module has a DebuggingServer that prints all messages to stdout. If you redirect them to a file, you should do.

+5
Aug 30 '09 at 8:39
source share

We used Mailtrap . This gives you a remote smtp server account and direct access to all emails in it. Thus, you simply enter the specified smtp credentials in your application, and after that all emails sent by your system will be visible on mailtrap. And you can easily view the source code of the mail and download it to your local system. You can see an example here.

On mailtrap, you can have as many smtp accounts as you want (another account for different applications or another application). You can also control access to your account (so only trusted people will send your emails), and you can redirect some emails to real email addresses.

+5
Nov 22 '11 at 12:32
source share

Below are the links I found

Use depending on the language and platform of your choice.

There is also an earlier publication for .NET. Testing SMTP with .net

+3
Aug 30 '09 at 9:07
source share

Papercut ( http://papercut.codeplex.com/discussions ) is the easiest and most elegant so far. A simple exe file that listens on port 25 and displays emails.

+2
Apr 01 '13 at 16:55
source share



All Articles