Skip to content

Josh5K/EmailR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EmailR

Summary

EmailR is an email service written in Rust

Getting Started

  1. Check if rust is installed
which rustc

If rust is not installed install it

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  1. Run a local instance of RabbitMQ
docker run -it --rm --name rabbitmq -p 5672:5672 -p 15672:15672 rabbitmq:3.13-management
  1. Add your environment variables
cp example.env .env

Make sure to update with your credentials

  1. Start the app
cargo run

Sending an email

Once the app is started you can send an email by adding a message to the RabbitMQ queue.

Message Example:

{
  "to": "[email protected]",
  "from": "[email protected]",
  "subject": "Email from EmailR",
  "body": "<p>Test123</p>"
}

Email Image

About

EmailR is an email service written in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published