1. FredGan
  2. Simple_BackUP

Source

Simple_BackUP / modules.py

#!/usr/bin/env python

#There is additional function
#Import extentions
import smtplib
from email.mime.text import MIMEText
#Sending email
def Sendemail(fro_m,to,subject,body):
    msg = MIMEText(body)

    msg['Subject'] = subject
    msg['From'] = fro_m
    msg['To'] = to

    send = smtplib.SMTP('192.168.50.254')
    send.sendmail(fro_m, to,  msg.as_string())
    send.quit()