Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Izzur/mail-relay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mail Relay

API to relay incoming HTTP call to send SMTP email

Quick Start

go run main.go

Build

go build

Example Body

{
    "personalizations": [
        {
            "to": [
                {
                    "email": "[email protected]",
                    "name": "John Doe"
                }
            ],
            "subject": "Hello, World!"
        }
    ],
    "content": [
        {
            "type": "text/plain",
            "value": "Heya!"
        }
    ],
    "from": {
        "email": "[email protected]",
        "name": "Sam Smith"
    },
    "reply_to": {
        "email": "[email protected]",
        "name": "Sam Smith"
    }
}

About

Relay incoming http call to send mail with smtp

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •