This topic was marked solved by Nao, on August 24th, 2013, 10:05 AM
Outgoing emails aren't passed through the rewriter


  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Outgoing emails aren't passed through the rewriter
« on February 22nd, 2013, 06:11 AM »
This is potentially very awkward.

For starters, PM notifications (even before my tweaks) were set up to reply to $scripturl . ?action=pm;stuff and that still comes out in the emails. It also means we can't streamline those with <URL> replacements.

On top of that it also means that internal links won't be prettified in any fashion.

What we need to do then is have the entire rewrite buffer be encapsulated in a function that we can pass arbitrary content to and have it prettified? Seems to me that email content would need that. (And it should all be pushed into loadEmailTemplate these days, even those damn PM notifications)
When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest. | Game Memorial


  • Should five per cent appear too small / Be thankful I don't take it all / 'Cause I'm the taxman, yeah I'm the taxman
  • Posts: 1,668
A confident man keeps quiet.whereas a frightened man keeps talking, hiding his fear.


  • Dadman with a boy
  • Posts: 16,078