Urls in ActionMailer

Hello,

I know the ticket about enabling url_for in ActionMailer views is closed
and that there are some possible workarounds to this problem such as
passing the controller instance or links from the controller, but I
cannot figure out what to do if my emails are not sent from a controller

  • like periodic reminders or notifications triggered by a system
    scheduler, which need to include links.

Any hint?


Agnieszka F.