用户
 找回密码
 入住 CI 中国社区
搜索
查看: 3331|回复: 2
收起左侧

[HELP] CI 框架邮件发送 smtp 服务器只能是163的吗

[复制链接]
发表于 2012-1-29 18:27:13 | 显示全部楼层 |阅读模式
用CI 框架自带的邮件发送类 smtp服务器163的就能成功用别的就发送失败是怎么回事?hello:
The following SMTP error was encountered:
Failed to send AUTH LOGIN command. Error:

from:
The following SMTP error was encountered:

to:
The following SMTP error was encountered:

data:
The following SMTP error was encountered:

The following SMTP error was encountered:
Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method.

User-Agent: CodeIgniter
Date: Sun, 29 Jan 2012 18:15:33 +0800
From: =?utf-8?Q?=e9=83=ad=e4=ba=8c=e5=bc=ba?=
Return-Path:
To: xy631606923@163.com
Subject: =?utf-8?Q?=e6=b5=8b=e8=af=95=e5=8f=91=e9=80=81=e9=82=ae=e4=bb=b6?=
Reply-To: "dengxiaocui@vread.cn"
X-Sender: dengxiaocui@vread.cn
X-Mailer: CodeIgniter
X-Priority: 3 (Normal)
Message-ID: <4f251c45f09c6@vread.cn>
Mime-Version: 1.0


Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit


发表于 2012-1-29 22:33:45 | 显示全部楼层
CI自带的邮件发送类支持很多smtp服务器的,不止163...看看哪里是不是写错了。
发表于 2012-1-30 09:52:07 | 显示全部楼层
早期的邮箱不用设置,到后来应该是07以后的吧,要设置邮箱一下,以163邮箱为例子,除了smtp外,记得登陆邮箱,--》设置--》设置POP3/SMTP/IMAP   
把开启SMTP服务
开启POP3服务
开启IMAP服务都开启
貌似07以前的smtp服务是默认开启的,
太久了,不记得了,给你个地址自己好好看看就知道了
http://help.163.com/09/1223/14/5R7P6CJ600753VB8.html?b08ene1

本版积分规则