zoukankan      html  css  js  c++  java
  • DotNetNuke(DNN)SMTP设置

    DNN的SMTP设置因为细节设置比较多,并且只要错一点点就会无法使用,这里把几种常用的情况讲一下。

    普通SMTP设置

    对于大部分的邮箱都是要求SMTP认证的,所以对于“SMTP Authentication:”我们都应该选择"Basic",并在下面的SMTP Username和SMTP Password提供你的用户名和密码:

    有一点一定要注意,在Host Details节里的Host Email一定要改成对应的邮箱,不然就无法设置成功。

    image

    SMTP Server and port:通过你的邮箱服务商得到你的SMTP服务器地址,一般是SMTP+你邮箱的域名,比如smtp.163.com

    SMTP Authentication:选择Basic

    SMTP Username: 这里要注意,不要填写@符号之后的东西。

    SMTP Password:你的密码

    image

    GMail设置

    对于Gmail,有一点需要注意,要勾选"SMTP Enbale SSL",其它的跟163邮箱的设置一样。

    image

    应为GMail使用安全链接,所以"SMTP Enbale SSL"一定要勾选,不然就会报告:

    There has been an error trying to send the test email. The error is:
    The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Must issue a STARTTLS command first. i6sm2749151tid.16

    如图:

    image

    Catalook 的SMTP设置

    应为Catalook不支持SSL,所以无法使用GMail这种需要SSL支持的邮箱。

    image

  • 相关阅读:
    poj2104 Kth-Number
    bzoj2120 数颜色
    hdu5145 NPY and girls
    bzoj2734 集合选数
    bzoj3732 NetWork
    bzoj2152 聪聪可可
    hdu2036(多边形面积)
    超大次幂思路
    hdu 2030 统计汉字个数
    Hibernate 配置文件与映射文件 总结
  • 原文地址:https://www.cnblogs.com/DotNetNuke/p/1287432.html
Copyright © 2011-2022 走看看