使用phpMailer和Gmail的域的电子邮件帐户 [英] Domain's email account with phpMailer and Gmail

查看:108
本文介绍了使用phpMailer和Gmail的域的电子邮件帐户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

两种情况:

  1. 我最近下载了phpMailer,并将其添加到我的public_html文件夹中.
  2. 我将域的电子邮件帐户添加到我的gmail帐户.
  1. I recently downloaded the phpMailer and added it to my public_html folder.
  2. I add my domain's email accounts to my gmail account.

两个问题:

  • 使用phpMailer和Gmail发送电子邮件(域的电子邮件帐户)时,当收件人收到邮件时,会出现红色问号,而不是Gmail的默认个人资料照片.
  • When sending emails (domain's email account) using phpMailer and Gmail, and when the recipient received it, the red question mark is appearing instead of the Gmail's default profile photo.

我需要做些什么来解决这个问题?我在phpMailer中搜索到我需要一些DKIMSPF键或其他内容.

What do I need to do to solve this? I searched about in phpMailer that I need some DKIM and SPF keys or something.

推荐答案

您的邮件未经身份验证,您必须设置SPF配置,这是您的域(信封)上的TXT记录.例如,"v = spf1 ip4:204.200.197.197 -all"表示允许IP 204.200.197.197通过您的域发送邮件.

Your message is not authenticated, you must set a SPF configuration this is a TXT record on your domain (envelope). For Example "v=spf1 ip4:204.200.197.197 -all" means the ip 204.200.197.197 is allowed to send mails over your domain.

更多信息到gmail红色问号 >://://support.google.com/mail/answer/180707?vid = 0-1292648286207-1480402255906& hl = zh_CN

more information to gmail red question mark https://support.google.com/mail/answer/180707?vid=0-1292648286207-1480402255906&hl=en

更多信息到SPF记录 http://www.openspf.org/FAQ/Examples

more informations to spf records http://www.openspf.org/FAQ/Examples

这篇关于使用phpMailer和Gmail的域的电子邮件帐户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆