# coding=utf-8

import os
import configparser
cur_path = os.path.join(os.path.abspath(os.path.join(os.path.dirname(os.path.realpath(__file__)), '..')), 'config')
configPath = os.path.join(cur_path, "cfg.ini")
conf = configparser.ConfigParser()
conf.read(configPath, encoding='UTF-8')

#
smtp_server = conf.get("email", "smtp_server")
#
sender = conf.get("email", "sender")
#
psw = conf.get("email", "psw")
#
receiver = conf.get("email", "receiver")
#
port = conf.get("email", "port")