Skip to content

franklintimoteo/MUCE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Modern Unsolicited Commercial Email

Initialize the database

flask init-db

Create admin login

flask init-admin -u username -p password

Add new spam templates

Create templates named with prefix spam_
Example: spam_smartphone5g.html
Put templates on app/templates/ directory.

Configure Template

Add {{ url_coupon }} on html template

Example:
<html>
<head><title>Coupon Paypal</title></head>
<body>
    <a href="{{ url_coupon }}">Redeem coupon</a>
</body>
</html>

Configure your mail

app.__init__.py - update with your mail "SERVER", "PORT", "SENDER", "DDNS"

- Define vars
(Linux)
export [email protected]
export DDNS=muce.ddns.net:587
export MAIL_USERNAME=usernameEmail
export MAIL_PASSWORD=p@sSWorD

(Windows) 
set [email protected]
set DDNS=muce.ddns.net
set MAIL_USERNAME=username
set MAIL_PASSWORD=p@sSWorD