LMLPHP后院

使用LMLPHP和PHPMailer发送邮件

前几天使用 phpmailer ,通过 smtp 的方式发送了邮件。本人用的是 126 邮箱测试的,发送纪录也保存到了邮箱的已发送里面。有个朋友问我发送邮件里面含有 HTML 会失败,发送的邮件有时候会退回,这个怎么办。一般的知名度比较高的开源应用,后台的发邮件的配置都可以选择使用 PHP mail 函数发送邮件或使用 SMTP 发送邮件。比较好的方式是使用 SMTP 来发送邮件,这样程序只是一个客户端...

Ubuntu DKIM 域名邮件身份认证

邮件的认证方式有 SPF 和 DKIM。SPF 全称为 Sender Policy Framework,即发件人策略框架,DKIM 的缩写是 DomainKeys Identified Mail。gmail 墙裂推荐使用 DKIM 的认证方式,SPF 实现起来相对简单,只需简单的设置 DNS 就可以。本文主要讲解 DKIM 的实现。以 Ubuntu 为例,使用 postfix 发送邮件。第一步,安装 op...

迁移服务器遇到的事

时被奉为圭臬,几乎是面试必须要懂的,真是时代之悲哀啊!先讲一讲我一路走来,十多年了,这次迁移遇到的怪事。 331 rm /var/log/main.log 332 ls -alrt /var/log/mail* 333 rm /var/log/mail.log 334 df -h 335 rm /var/log/mail.info 336 df -h 337 df -h 338 ls -alrt /var...

GIT之filter-branch修改作者信息

or example, if you found out that your commits have the wrong identity due to a misconfigured user.email, you can make a correction, before publishing the project, like this: git filter-branch --env-filte...

Linux 下用户组别权限的理解

r root@may:~# groups www-data www-data : www-data root@may:~# usermod -G www-data root You have new mail in /var/mail/root root@may:~# groups www-data www-data : www-data root@may:~# exit logout Connectio...

在终端命令行使用SMTP协议发送邮件

系统判定为垃圾邮件。如下响应: 554 DT:SPM 126 smtp6,j9KowAAHDGR3yR1Xi0s2CA--.28401S5 1461570156, please see http://mail.163.com/help/help_spam_16.htm?ip=220.248.12.226&hostid=smtp6&time=1461570156 从百度百科和 WikiPedia 维基百科上...

发现一段变态的代码

看:<h1><a class="__yjs_email__" href="/cdn-cgi/l/email-protection" data-yjsemail="1a4d73742dfda9a1fda185fea7a5fd8eb2fd8eaff29e8bfd9392ffa4b4fea5bbffbc98fea78f5aff92b1fea0a0">[email&#160;protected]</a><scri...

聊聊关于 CF 域名 DNS API 操作

d and active","type":null}]} 硬生生搞出来一个 API Token,不知道这个是干什么用的,官方的文档说,在请求的时候将 Bearer 替换 API 中的 x-auth-email and x-auth-key。API Tokens use the standard Authorization: Bearer header for authentication instead ...

V2ray Vmess Websocket+TLS+web Nginx 配置

ol": "vmess", "settings": { "vnext": [ { "address": "x.com", "port": 443, "users": [ { "id": "x" ,"email": "x@gmail.com" } ] } ] } , "streamSettings": { "network": "ws", "security": "tls", "wsSettings": {...

acme letsencrypt 折腾记

ing ZeroSSL as default CA now. [2022年 09月 30日 星期五 16:30:47 CST] Please update your account with an email address first. [2022年 09月 30日 星期五 16:30:47 CST] acme.sh --register-account -m my@example.com [2022年...
2024-04-25 08:59:41 1714006781 0.020227