Skip to content

slyngshede/gosmtpd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gosmtpd

Golang SMTP daemon library (smtpd)

gosmtpd receives email and send the messages to a channel.

import "github.com/slyngshede/gosmtpd"
import "net/mail"

func main(){
    c := make(chan *mail.Message, 100)

    config := smtpd.Config{Bind: ":2525",
                       Host: "smtp.localhost.localdomain",
                       Maxsize: 131072}

    go smtpd.Serve(config, c)
}

About

Golang SMTP daemon library (smtpd)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages