Skip to content

Tragon is a minimal Go package to build fake SMTP servers that process all incoming data.

Notifications You must be signed in to change notification settings

gguillemas/tragon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tragon

GoDoc

Tragon is a minimal Go package to build fake SMTP servers that process all incoming data.

The use cases for such servers can be:

  • Testing email clients.
  • Analyzing email for malware.
  • Analyzing email for phishing.
  • Harvesting email addresses.
  • Collecting email spam.

This package is not intended to be used for:

  • Building fully working SMTP servers.
  • Building interactive mocks of SMTP servers.

Features

  • Always replies positively.
  • Customizable SMTP reply messages.
  • Customizable connection handling.
  • Customizable message handling.
  • Customizable errror handling.

Installation

Execute:

go get github.com/gguillemas/tragon

Documentation

Execute:

go doc github.com/gguillemas/tragon

Or visit godoc.org to read it online.

Example

An example of a common use case can be found in cmd/tragon-attachments-example.

This example shows how Tragon can be used to extract, store and analyze email attachments.

About

Tragon is a minimal Go package to build fake SMTP servers that process all incoming data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages