Skip to content
/ sese Public

sese is extended ses mock based on moto-server

License

Notifications You must be signed in to change notification settings

orisano/sese

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sese

sese is moto-server based extended ses mock.

How to use

Server

docker pull orisano/sese
docker run --init -p 5000:5000 orisano/sese

or

git clone --depth=1 https://github.com/orisano/sese
cd sese
docker build -t sese .
docker run --init -p 5000:5000 sese

Client

# pip install awscli
# aws configure
aws --endpoint-url http://localhost:5000 ses verify-domain-identity --domain example.com
aws --endpoint-url http://localhost:5000 ses send-email --from me@example.com --to to@example.com --subject Test --text Hello
curl http://localhost:5000/message/to@example.com
[
  {
    "body": "Hello",
    "source": "me@example.com",
    "subject": "Test"
  }
]

Author

Nao Yonashiro (@orisano)

License

MIT