- Create and activate a virtual environment.
- Run
pip install -r requirements.txt. - Create a
secrets.jsonfile with the following content:{ "DJANGO_SECRET_KEY": "YOUR_SECRET_KEY", "POSTGRESQL_NAME": "YOUR_POSTGRESQL_NAME", "POSTGRESQL_USER": "YOUR_POSTGRESQL_USER", "POSTGRESQL_PASSWORD": "YOUR_POSTGRESQL_PASSWORD", "POSTGRESQL_HOST": "YOUR_POSTGRESQL_HOST", "POSTGRESQL_PORT": "YOUR_POSTGRESQL_PORT", "EMAIL_HOST": "YOUR_EMAIL_HOST", "EMAIL_PORT": "YOUR_EMAIL_PORT", "EMAIL_HOST_USER": "YOUR_EMAIL_HOST_USER", "EMAIL_HOST_PASSWORD": "YOUR_EMAIL_HOST_PASSWORD", "EMAIL_FROM": "YOUR_EMAIL_FROM", "EMAIL_BCC": "YOUR_EMAIL_BCC" } - Run
python3 manage.py makemigrations. - Run
python3 manage.py migrate. - Run
python3 manage.py runserver.
https://general.abdullahalrafi.com/||http://127.0.0.1:8000/- Base URLapi/v1/email/send- POST - Send emailAPI-KEY: API key (asdfhdkjsfgk - string) - use the key you are provided or create one then put it in the header.API-KEY:asdfhdkjsfgk
email: Email address (example@example.com - string) - Comma seprated up to 5 emailsemail:first@email.com,second@email.com,third@email.com,fourth@email.com,fifth@email.com
subject: Email subject (Example Subject - string)subject:Example Subject
message: Email message (Example Message - string)message:Example Message
To get a temporary API key, contact Abdullah Al Rafi.
Please note that, the request amount will be
limitedand fortrialpurpose only.