我一直在尝试使用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.securreserver.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.
再次致电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;