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

- 阅读全文 -

【Dovecot】CentOS 6 下Postfix+Dovecot邮件服务器配置

一、删除系统自带的sendmailyum remove sendmail或者rpm -e sendmail 二、安装crontabs(计划任务)服务yum install crontabs service crond start chkconfig crond on 三、安装postfix如果yum提示找不到软件包,请换一下源,请参考centos 6推荐使用epel源(http://blog.51

- 阅读全文 -

PHPMailer + SSL使用

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

- 阅读全文 -

Linux查看端口占用

netstat -tunlp |grep 端口号locate master | grep '/master$'查看端口被哪个程序占用lsof -i:端口号

- 阅读全文 -

【在用】Postfix + Dovecot + SSL邮件服务器配置

一、删除系统自带的sendmailapt remove sendmail 二、安装postfix,dovecotapt install postfix dovecot-core dovecot-imapd dovecot-pop3d 三、配置postfix生成受信任的证书上面的证书可以通过自己创建一个域名的方式进行生成,然后将证书用于下面的SSL证书配置1、配置postfix基本参数vi /etc

- 阅读全文 -

MySQL 5.7 互为主从

【备注】master1 xx.104.242.89 master2 xx.182.126.76同步的数据库 ultrax同步的数据库 blog在master1上面配置vi /etc/my.cnf主从配置master1 xx.104.242.89user = mysql log_bin = mysql-bin relay_log=relay-bin binlog_format=mixed serve

- 阅读全文 -

阿里云开放ECS端口

进入控制台 -> 左侧“云服务器 ECS” -> 在页面中找到“我的资源”,选择要开放端口的服务器资源然后点击进入,然后在实例的后面点击“更多”,选择“网络和安全组” -> “安全组配置”进入后点击右侧“配置规则”进去后点击“添加安全组规则”,确定后就可以了

- 阅读全文 -

最新文章

最近回复

分类

标签

归档

其它