Skip to content

tr1st/python-mail-queue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

python-mail-queue

Simple Mail Queue using Python and MySQL

Instalation & Configuration

  • Clone repository

  • Create MySQL Database and User

  • Run schema.sql on your Database

  • Set variables in both of scripts

    • MySQL
    • SMTP connection
  • Set your CRONTAB

    • For example
    MAILTO=""
    SHELL=/bin/sh
    
    * * * * *	__USER__ python /home/__USER__/send-mail.py >> /var/log/sentmail.log
    * * * * *	__USER__ sleep 20; python /home/__USER__/send-mail.py >> /var/log/sentmail.log
    * * * * *	__USER__ sleep 40; python /home/__USER__/send-mail.py >> /var/log/sentmail.log
    
    • Be sure to change USER as correct user used as executive user for python scripts
    • Ensure you have necessary rights

About

Simple Mail Queue using Python and MySQL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors