Python 发邮件报错 server

    技术2022-07-10  140

    文章目录

    Python 发邮件报错 server_hostname cannot be an empty string or start with a leading dot. 1、使用环境,报错内容 2、代码 3、需要改为 4、因为

    Python 发邮件报错 server_hostname cannot be an empty string or start with a leading dot.

    1、使用环境,报错内容

    python 3.8

    ValueError: server_hostname cannot be an empty string or start with a leading dot. 简简单单OnlineZuozuo 认证博客专家 Spring 架构 分布式 未闻万里蓬莱,而窥先圣遗智。故,以此生筑梦,奔而逐之;以泰山之伟,攀而登之;以静雅素心,处世为人。------zuozuo著
    Processed: 0.016, SQL: 12