<filename>lan/commands/it/config_mail_yaml.py
content = '''
# 邮箱服务配置
host: smtp.qq.com
port: 465
user: <EMAIL>
passwd: <PASSWORD>
'''


def get_config_mail_tpl():
    return content


if __name__ == '__main__':
    print(get_config_mail_tpl())

<filename>lan/commands/it/config_mail_yaml.py
content = '''
# 邮箱服务配置
host: smtp.qq.com
port: 465
user: <EMAIL>
passwd: <PASSWORD>
'''


def get_config_mail_tpl():
    return content


if __name__ == '__main__':
    print(get_config_mail_tpl())

# 邮箱服务配置 host: smtp.qq.com port: 465 user: <EMAIL> passwd: <PASSWORD>