Steps to run this project via Docker:
- Run
docker-compose up
command
Insomnia workspace file
-
✅ Creating of SMTP connections
-
✅ Immediate mail sending
-
✅ Scheduled mail sending
-
❌ Listing emails via IMAP
- [] Add tests
- [] Optimize for bigger attachments
- [] Connection password encryption
- Create SMTP connection by sending POST request to
localhost:8080/connection
with json body like this
{
"type": "SMTP",
"host": "smtp.seznam.cz",
"port": 465,
"secure": true,
"username": "xyz@seznam.cz",
"password": "123"
}
- Create SMTP connection by sending POST request to
localhost:8080/mail
with multipart form payload like this
connectionId = 3
from = examplesender@seznam.cz
to = examplerecipient@gmail.com
subject = Greeting
text = ...
attachment = <file>
Do the same steps as Sending-email and additionally provide "sendTime" field to the multipart form payload
...
sendTime = 2022-12-18T08:30:00.000Z