Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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"}
```