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

  • 相关阅读:
    https 适配
    SDWebImage 的简单使用方法
    第三方API使用的好习惯
    关于IPicture::Render函数
    标准模板库(STL)MAP容器使用详解
    STL容器
    c++ 遍历map的时候删除元素
    C++的try_catch异常
    Makefile 自动生成头文件的依赖关系 .
    调试过程中,内存泄露检测信息
  • 原文地址:https://www.cnblogs.com/DotNetNuke/p/1287432.html
Copyright © 2011-2022 走看看