简体   繁体   中英

PHP mail with SMTP

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?

您还必须安装PEAR :: Mail软件包(从命令行“ pear install Mail”)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM