Adil Malik
Adil Malik

Reputation: 6357

cfmail - An email address works in "to:" but doesn't work in "failto:"

I am having a problem with a specific email address. When I use that address in to attribute, it works and the email goes through. But when I put the same address in failto and try sending email to an address that doesn't exist, I get the following error:

enter image description here

Upvotes: 0

Views: 450

Answers (2)

Adil Malik
Adil Malik

Reputation: 6357

My administrator found out it was the problem with the Mail Server. He changed the Mail Server and it started working.

Upvotes: 0

barnyr
barnyr

Reputation: 5678

The failto attribute on CFMail sets the reverse-path on the mail envelope. Because of spamming concerns, most mail servers check up on the email address being used and disallow invalid ones, which may be what's happening to you. Take a look at this article for how the Mail Server does it.

Upvotes: 3

Related Questions