Skip to main content
Participant
March 30, 2013
Question

CFMAIL throws attribution error but mail still goes. CFCatch catching it and notifying me.

  • March 30, 2013
  • 1 reply
  • 997 views

Here's my mail header:

<cfmail to="#session.user_email#" from="#application.siteName# <#application.siteEmail#>"  subject="You Are Registered for #getEvent.event_title#" type="html">

The variables all work and the format complies with the documentation on CF9.  I have a cfcatch set up in case of failures and I'm getting notices of attribute failure.  The mail still goes through though.  I'd leave it alone except that this is on our community site and my mailbox is getting bombed.  Besides, I'd like to know why it's failing!

Michael    

This topic has been closed for replies.

1 reply

Participating Frequently
March 31, 2013

are you able to post error message found in the application log?

mkranitzAuthor
Participant
April 1, 2013

That's the problem, there are no error messages in the app log!  I get this from the CFCatch:

Attribute validation error for CFMAIL.

I got another one this morning after I had further simplified the CFMAIL opening line to:

<cfmail to="#session.user_email#" from="#application.siteEmail#"  subject="You Are Registered for #getEvent.event_title#" type="html">

Interestingly, my mailsent log shows:

Mail: 'You Are Registered for Wings for Wishes over Washington' From:'RCFlightDeck@RCFlightDeck.com' To:'rcscratchbuilder@gmail.com' was successfully sent using localhost

So I'm left scratching my head as to how I could get a CFCatch attribution error on this....