PHP 邮件与 SMTP
我将此代码用于带有 SMTP 的邮件脚本(不带 ssl): http://email.about.com/od/emailprogrammingtips/qt/PHP_Email_SMTP_Authentication.htm
在第二行中,脚本想要包含 mail.php,但我在该站点的任何位置都找不到该 mail.php 的代码。当我排除 mail.php 时,php 告诉我它找不到“mail”类。 PEAR 软件包已安装。我必须包含什么代码?
I'm using this code for my mail script with SMTP (without ssl):
http://email.about.com/od/emailprogrammingtips/qt/PHP_Email_SMTP_Authentication.htm
In line two, the script wants to include a mail.php, but I can't find the code for this mail.php anywhere on this site. When I'm excluding mail.php php tells me that it can't find the class 'mail'.
PEAR Package is installed. What code do I have to include?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您还必须安装 PEAR::Mail 软件包(从命令行“pear install Mail”)
You must install the PEAR::Mail package as well ("pear install Mail" from the command line)