PHPMailer乱码

PHPMailer乱码,这个乱码比较有个性,只有在网易的邮箱乱码,其他邮箱都正常,开始以为是postfix的问题,但是postfix并没有设置字体编码等等的地方,以为是Linux的问题,于是听信网上的把windows下的字体统统打包上传,又以为是postfix其它组件的问题,于是一一验证都是“谣传”,弄的我都有点想要放弃了,因为我以为不是PHPMailer的问题,已经换了N个版本都这样。但是一个偶

- 阅读全文 -

PHPMailer发送邮件 SMTP Error: Could not authenticate 错误

phpmailer报错SMTP Error: Could not authenticate/var/log/maillog中报错SASL LOGIN authentication failed: UGFzc3dvcmQ6foxmail可以正常使用,但是phpmailer就不行我的解决方式是:class.phpmailer.php文件中将smtp改为SMTP,改之前我以为没戏,没想到还真行了publ

- 阅读全文 -

PHPMailer + SSL使用

<?php require('phpmailer/class.phpmailer.php'); require('phpmailer/class.smtp.php'); $mailer = new PHPMailer(); // 使用SMTP形式发送 $mailer->IsSMTP(); // 编码 $mailer->CharSet =

- 阅读全文 -

PHPMailer使用

<?php require('phpmailer/class.phpmailer.php'); require('phpmailer/class.smtp.php'); $mailer = new PHPMailer(); // 使用SMTP形式发送 $mailer->IsSMTP(); // 编码 $mailer->CharSet =

- 阅读全文 -