#!/usr/bin/python
#-*- coding: utf-8 -*-
#---------------------------------------
#
# Copyright(c) Aixi Wang 2014-2015
#---------------------------------------
# v1 -- initial version
#---------------------------------------

#-----------------------
# mail
#-----------------------
global mail_sender,mail_smtpserver,mail_username,mail_password
global mail_enable,mail_to

mail_to = 'xx@xxx.xxx'
mail_username = 'xxx@xxx.xxx'
mail_password = 'xxx'
mail_smtpserver = 'xxx.xxx.xxx'
mail_sender = 'xxx@xxx.xxx'
mail_enable = 1

Create global_setting.py