Mail Queue Dispatcher
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
cmd/smtp-dispatcher Cleanup code and fix typos Nov 4, 2017
img Fix crash Feb 23, 2016
smtp Cleanup code and fix typos Nov 4, 2017
.gitignore Move to Nov 4, 2017 Move to Nov 4, 2017
doc.go Cleanup code and fix typos Nov 4, 2017
settings.go Cleanup code and fix typos Nov 4, 2017

Mail Queue Dispatcher


The Mail Queue Dispatcher is a simple Windows service that watches a mailqueue folder, looks up sender information, and transmits an email for each message it finds in the folder.

If there is a problem, the message will be moved to the configured badmail folder.


To get the program, just run go get

To install: go install This will install the binary in your GOPATH, but to install the windows service, I recommend copying the executable into its own folder and then creating or generating the .smtp-dispatcher.settings file, and modifying it to match your settings first. Then to install the service run ./smtp-dispatcher.exe install, and ./smtp-dispatcher.exe start to start monitoring the mailqueue folder and sending emails.


To generate the windows binary with the icon and resource info you can use go generate after installing the fine tool by Joseph Spurrier:

go get

This should generate a .syso file which go build will use to incorporate the resource info into the binary when you finish up with:

go build

gopher mascot

The Go gopher was designed by Renee French. ( The design is licensed under the Creative Commons 3.0 Attributions license. Read this article for more details: