大网数据广告活动
服务器运维问答

.NET, to SendGrid, to Gmail getting From Header missing

· 52CE 我爱测

I received this message below within SendGrid that was being sent to Gmail. However this has always worked, and of course I am have a FROM email address included. Is this something else or a bug? 550 5.7.1 [208.117.55.132 11] Our…

问题原文

原帖链接 · exposure · CC BY-SA 3.0

I received this message below within SendGrid that was being sent to Gmail. However this has always worked, and of course I am have a FROM email address included. Is this something else or a bug?

550 5.7.1 [208.117.55.132 11] Our system has detected that this message is not RFC 5322 compliant: 'From' header is missing. To reduce the amount of spam sent to Gmail, this message has been blocked. Please visit https://support.google.com/mail/?p=RfcMessageNonCompliant and review RFC 5322 specifications for more information. k7si5926825iok.8 - gsmtp

已采纳解答

原帖链接 · Digiwise · CC BY-SA 3.0

I had this issue with PHP sending via SendGrid to Gmail. It seems to be solved by changing the From header to have the email address in between < and >.

Old:

From: [email omitted]

New:

From: <[email omitted]>

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2017-03-28)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。