Skip to content

User sends command through email. Server checks the email frequently and response to these commands

Notifications You must be signed in to change notification settings

eamars/email_command

Repository files navigation

Email Command Auto Response System

Author: Ran Bao

HOWTO:

  1. Fillin your config.ini
  2. Send the your command email to your imap account
  3. Run check_email.py by Python3 or later

Email format:

You need to specify your subject of your command email to "COMMAND_EMAIL_SUBJECT". Then you can insert any of your command enclosed by [command] and [/command]. The format of email can either be 'text/plain'(untested) or 'text/html'.

Extra:

With period_script, you can add this script to crontab so that you can fetch your email periodically. It is notice that you have to chmod a+x to this script.

Credits:

PySocks: https://github.com/Anorov/PySocks

About

User sends command through email. Server checks the email frequently and response to these commands

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published