Phpmailer

phpmailer发送邮件出现错误:stream_socket_enable_crypto(): SSL operation failed with code 1.

如果开了调试,调试进去会看到错误提示: [cpp]view plaincopy smtp_code:"stream_socket_enable_crypto():SSLoperationfailedwithcode1.OpenSSLErrormessages: error:14090086:SSLroutines:ssl3_get_server_ce...

PHPMailer邮件类使用错误分析

PHPMailer配置清单如下: require_once ‘class.phpmailer.php‘; $receiver = ”; $mail =newPHPMailer( ); $mail->IsSMTP(); $mail->IsHTML( true ); $mail->CharSet= “GB2312″; $mail->E...

利用PHPMailer 来完成PHP的邮件发送

1.首先是下载PHPMailer http://code.google.com/a/apache-extras.org/p/phpmailer/ 2.解压 从中取出class.phpmailer.php 和class.smtp.php 放到你的项目的文件夹,因为我们等下会引用到它们. 3.创建发送邮件的函数,其中你需要配置smtp服务器 function...