Athena Plugin - Mail Service
An email service plugin for the Athena Framework compatible with 4.0.0
of the Athena Framework.
Installation
- Open a command prompt in your main Athena Directory.
- Navigate to the plugins folder.
cd src/core/plugins
- Copy the command below.
SSH
git clone git@github.com:Athena-Roleplay-Framework/athena-plugin-mail-service.git
HTTPS
git clone https://github.com/Athena-Roleplay-Framework/athena-plugin-mail-service
npm install nodemailer
- You need a domain (.com, .org, whatever) registered under you.
- Utilize https://sendgrid.com/
- Setup Sender Authentication https://app.sendgrid.com/settings/sender_auth
- Go through the steps to verify your domain with sendgrid.
- Create an API key https://app.sendgrid.com/settings/api_keys
- In
server/src/config.ts
fill in the information. 6a. Leave username alone if using SendGrid 6b. Only fill in password with API key. - Send a test email by writing some code to double check everything is okay. :)