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 =

- 阅读全文 -

【在用】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” -> 在页面中找到“我的资源”,选择要开放端口的服务器资源然后点击进入,然后在实例的后面点击“更多”,选择“网络和安全组” -> “安全组配置”进入后点击右侧“配置规则”进去后点击“添加安全组规则”,确定后就可以了

- 阅读全文 -

nginx: [emerg] unknown directive "if"

原因是缺少pcre类库,安装完毕后重新编译安装nginx就行yum list pcre*当然了,类似[emerg] 27557#0: without PCRE library "gzip_disable" supports builtin "msie6" and "degradation" mask only in[emerg] 27600#0: unknown directive "set" i

- 阅读全文 -

最新文章

最近回复

分类

标签

归档

其它