【问题标题】:godaddy smtp data (codeigniter)godaddy smtp 数据(codeigniter)
【发布时间】:2020-07-30 20:03:34
【问题描述】:

我一直在尝试让我的电子邮件配置与 godaddy 一起工作,但未能成功。我正在使用 codeigniter 框架(版本 3)。我什至联系了他们的支持,但他们没有给我任何东西,我也没有尝试过。

$config['email_address'] = 'no-reply@domain.com';
$config['owner']         = 'name';
$config['email_owner']   = 'no-reply@domain.com';
$config['charset']       = 'utf-8';
$config['mailtype']      = 'html';
$config['protocol']      = 'smtp';
$config['smtp_host']     = 'domain.com';
$config['smtp_crypto']   = 'ssl';
$config['smtp_port']     = '465'; // 465, 25
$config['smtp_timeout']  = '7';
$config['smtp_user']     = 'no-reply@domain.com';
$config['smtp_pass']     = 'xxxxx';
$config['validation']    = TRUE;

我尝试了他们在网站上提供的 smtpout.europe.secureserver.net(不起作用)

这是我从他们的支持团队获得的最后信息。也许有人看到我做错了什么。

Secure SSL /TLS Settings (Recommended)
Username: no-reply@vbuw.app
Password: email account’s password.
Incoming Server: vbuw.app
IMAP Port: 993
POP3 Port: 995
Outgoing Server: vbuw.app

SMTP Port: 465 IMAP, POP3, and SMTP require authentication.

【问题讨论】:

    标签: php codeigniter email smtp-auth


    【解决方案1】:

    在再次致电 godaddy 并获得不同的技术支持人员后。我们设法解决了这个问题。

    这是一个不安全(不使用 SSL)的解决方案

    the smtp_host = mail.domain.app
    the smtp_port = 587
    the smtp_crypto should be removed (so no ssl)
    

    供参考

    $config['email_address'] = 'no-reply@domain.com';
    $config['owner']         = 'name';
    $config['email_owner']   = 'no-reply@domain.com';
    $config['charset']       = 'utf-8';
    $config['mailtype']      = 'html';
    $config['protocol']      = 'smtp';
    $config['smtp_host']     = 'domain.com';
    // $config['smtp_crypto']   = 'ssl';
    $config['smtp_port']     = '587'; // 465, 25, 587
    $config['smtp_timeout']  = '7';
    $config['smtp_user']     = 'no-reply@domain.com';
    $config['smtp_pass']     = 'xxxxx';
    $config['validation']    = TRUE;
    

    【讨论】:

      猜你喜欢
      • 2013-03-23
      • 1970-01-01
      • 1970-01-01
      • 2016-08-18
      • 1970-01-01
      • 2016-11-10
      • 1970-01-01
      • 2015-03-02
      • 2014-12-21
      相关资源
      最近更新 更多