Skip to content

Simple web app for indexing and searching mail sent to a folder on windows servers, useful when developing email-sending software.

License

Notifications You must be signed in to change notification settings

MattsGitCode/DevDotMail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DevDotMail

DevDotMail is a simple web app that listens to configurable folders for new emails to be delivered and then parses and indexes them ready for searching.

The main usage of DevDotMail is to accompany the development and testing of other .NET software that requires emails to be sent. Rather than using real email addresses in your software, which you can run out of quickly, you can use any email address and view the email in your browser.

DevDotMail makes use of NancyFX and MimeKit

Get Started

The first thing to do it modify your app.config or web.config to have it drop your emails into a folder instead of firing them off to a real SMTP server.

<smtp deliveryMethod="specifiedPickupDirectory>
    <specifiedPickupDirectory pickupDirectoryLocation="C:\somefolder" />
</smtp>

Next up, get DevDotMail running in IIS. You must set your application pool to run in 32-bit mode. (Right click the app pool, advanced settings, set enable 32-bit applications to true)

Finally, alter the web.config to tell it where to find your emails

<appSettings>
	<add key="mailFolder:Emails" value="C:\somefolder" />
</appSettings>

That's it, send some mails, view the website, voila!

More

Multiple pickup folders are supported, simply add multiple keys:

<appSettings>
	<add key="mailFolder:My First Folder" value="C:\somefolder" />
	<add key="mailFolder:My Second Folder" value="C:\some\other\folder" />
</appSettings>

In the future there will be an option to filter down by the mail folder name as a top level filter.

About

Simple web app for indexing and searching mail sent to a folder on windows servers, useful when developing email-sending software.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published