Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zcong1993/mailer

mail sender worker in go
https://github.com/zcong1993/mailer

Last synced: 1 day ago
JSON representation

mail sender worker in go

Awesome Lists containing this project

README

        

# mailer [![Go Report Card](https://goreportcard.com/badge/github.com/zcong1993/mailer)](https://goreportcard.com/report/github.com/zcong1993/mailer)

> mail sender worker in go

## Usage

send msg to queue.

```go
type MailMsg struct {
From string `json:"from"`
To []string `json:"to"`
Subject string `json:"subject"`
Body string `json:"body"`
// Tag is not part of email, we use it for analysing
Tag string `json:"tag"`
// ID is uuid of this message
ID string `json:"id"`
}
```

## License

MIT © zcong1993