Skip to content

waylybaye/weil

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weil

Weil is an email web service platform

USAGE

Server side

  1. Start weil web service

  2. Create a mailbox which containing your SMTP or AWS SES credentials

The Client

  1. Generate a token and use the token to call weil api

     POST /api/send, {
         'to': ['Tome <tom@example.com>'],
         'subject': "Please verify your email address",
         'content': "click the link below to verify your address",
         'html_content': "<html> .... </html>",
         'sender': "sender@your-host.com",
         'token': 's23d23'wer-wek2345-sdfg234',
     }
    
  2. Finish !

Django Support

$ pip install django-weil
$ vi settings.py
EMAIL_BACKEND = "dj_weil.backend.EmailBackend""
WEIL_END_POINT = "http://internal.com/api/send"
WEIL_ACCESS_TOKEN = "your-secret-token"

Done !

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages