使用带有无效电子邮件帐户的from属性的<cfmail>

1 coldfusion cfmail coldfusion-10

我想使用这个简单的代码从error@domain.com发送电子邮件到调试组debug@domain.com

<cfmail to="debug@domain.com" from="error@domain.com" 
 subject="sending error message plz respond!" 
 username="sender@domain.com" password="password-correct" 
 server="mail.domain.com" type="html">
      bla bla bla bla blga    
</cfmail> 
Run Code Online (Sandbox Code Playgroud)

问题是如果"来自"电子邮件地址不是现有的电子邮件帐户,我在ColdFusion的邮件日志中会收到验证错误,尽管用户名是正确的.这曾经在cf8中工作,他们现在改变了吗?

Pau*_*aul 5

与CF无关,很可能是你的smtp服务器.你在用gmail吗?