使用SMTP发送邮件

    技术2024-04-23  86

    为什么使用SMTP发送邮件?

    空间商经常会禁用PHP的 mail() 函数发送邮件更加灵活,无需被服务器端口或配置文件限制SMTP 比 mail() 函数更强大,更安全(支持SSL)

    方案:

    Zend Framework 框架中 包含的邮件类。(http://framework.zend.com/ )Swift Mailer (http://swiftmailer.org/ )PHPMailer (http://phpmailer.worxware.com )

    参考资料:

    http://framework.zend.com/manual/en/zend.mail.html http://swiftmailer.org/docs/introduction http://phpmailer.worxware.com/index.php?pg=examplebsmtp http://www.web-development-blog.com/archives/php-mail-scripts-using-smtp...
    最新回复(0)