dongyishen5796 2011-03-31 15:10
浏览 38

带SMTP的PHP邮件

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?

  • 写回答

1条回答 默认 最新

  • dtf579777 2011-03-31 15:17
    关注

    You must install the PEAR::Mail package as well ("pear install Mail" from the command line)

    评论

报告相同问题?