Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想使用 phpmailer 发送电子邮件,但据我所知,它需要我指出 SMTP 服务器。既然我不知道,有没有办法只使用它而不进行配置,或者可能有其他插件可以完成这项工作?
确保您没有发送垃圾邮件。
如果邮件进入垃圾文件夹,这并不意味着您的 mail() 函数不起作用。它与邮件接收者域完成的垃圾邮件控制活动有关。
如果您出于有效目的这样做,请尝试使用 dk/dkim 签名对您的邮件进行签名,并向您的域提供 SPF 记录。