lnbits-legend/lnbits/extensions/smtp
2023-01-09 09:41:19 +01:00
..
templates/smtp copy initial copy from my fork 2023-01-09 09:41:19 +01:00
__init__.py copy initial copy from my fork 2023-01-09 09:41:19 +01:00
config.json copy initial copy from my fork 2023-01-09 09:41:19 +01:00
crud.py copy initial copy from my fork 2023-01-09 09:41:19 +01:00
migrations.py copy initial copy from my fork 2023-01-09 09:41:19 +01:00
models.py copy initial copy from my fork 2023-01-09 09:41:19 +01:00
README.md copy initial copy from my fork 2023-01-09 09:41:19 +01:00
smtp.py copy initial copy from my fork 2023-01-09 09:41:19 +01:00
tasks.py copy initial copy from my fork 2023-01-09 09:41:19 +01:00
views_api.py copy initial copy from my fork 2023-01-09 09:41:19 +01:00
views.py copy initial copy from my fork 2023-01-09 09:41:19 +01:00

SMTP Extension

This extension allows you to setup a smtp, to offer sending emails with it for a small fee.

Requirements

  • SMTP Server

Usage

  1. Create new emailaddress
  2. Verify if email goes to your testemail. Testmail is send on create and update
  3. enjoy

API Endpoints

  • Emailaddresses
    • GET /api/v1/emailaddress
    • POST /api/v1/emailaddress
    • PUT /api/v1/emailaddress/<domain_id>
    • DELETE /api/v1/emailaddress/<domain_id>
  • Emails
    • GET /api/v1/email
    • POST /api/v1/email/<emailaddress_id>
    • GET /api/v1/email/<payment_hash>
    • DELETE /api/v1/email/<email_id>