Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/zcong1993/mailer
- Owner: zcong1993
- License: mit
- Created: 2018-09-07T08:12:42.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-10T03:43:55.000Z (almost 6 years ago)
- Last Synced: 2023-07-27T22:49:23.984Z (over 1 year ago)
- Language: Go
- Size: 19.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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