This project is read-only.

Tokens in body of Send-Email rule action not rendered

Topics: Customizing Orchard, Writing modules
Oct 2, 2013 at 4:43 AM
Hello All,

It's been a while; I didn't have a single issue with my Orchard project since published for over year, but all of a sudden I'm having issues with the Send-Email rule action. The tokens in the Body section of the emails are ignored and not rendered at all. Tokens in the Subject section work fine but not the ones in Body.

Where do I start debugging this issue?

Oct 2, 2013 at 6:36 AM
Do you have the latest? If not, what version are you using? It works on tip.
Oct 3, 2013 at 1:37 AM
I'm using 1.5.1. It worked great two months ago and I don't have the spare time to upgrade. The only change I made was turning on the blog feature and posting articles.

The logs show no errors and there were no exceptions when I attached to the IIS process either.

And it's only the body of the messages that don't render; subjects and E-mail fields render their tokens.

Oct 5, 2013 at 12:14 AM
I'm sorry, I can't debug old versions. I guess you'll have to attach a debugger, set a breakpoint in the e-mail rule action and figure out what's going on.