I created a runner script to send a newsletter. I found this hack where
you pass a controller and specify a helper:
But in a runner script there is no controller to pass. So, it looks like
it’s impossible to use url_for in the mailer template this way.
Another way around the no url_for problem is to pass the generated url
to the mailer, but again there is no controller in runner scripts.