Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yeboahd24/golang-email-scheduler
Email Scheduler with Golang+Gin+Rabbitmq+Mailtrap
https://github.com/yeboahd24/golang-email-scheduler
Last synced: 7 days ago
JSON representation
Email Scheduler with Golang+Gin+Rabbitmq+Mailtrap
- Host: GitHub
- URL: https://github.com/yeboahd24/golang-email-scheduler
- Owner: yeboahd24
- Created: 2024-06-21T20:45:54.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-06-21T21:31:00.000Z (7 months ago)
- Last Synced: 2024-11-17T11:19:56.197Z (2 months ago)
- Language: Go
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# golang-email-scheduler
## Usage
```shell
go run .
```## Sample Request
```shell
curl -X POST \
http://localhost:8000/schedule \
-H 'Content-Type: application/json' \
-d '{
"to": "[email protected]",
"subject": "Email Scheduler",
"body": "This is a test email mesika.",
"send_at": "2024-06-21T21:22:00Z"
}'
```## Sample Response
```json
{"id":"b011349e-ff05-4f24-9dd3-25406f0fbb35","message":"Email scheduled successfully"}
```