helpers in mailing templates

i'm having a problem using custom helpers in mailing templates.
because action mailer never uses a controller it doesn't inherit the
helper module and i sadly can also not use the helpers from the
controller than calls the deliver method. this seems like a
shortcoming, not a feature.

anybody come up with a work around. i know you can use rails default
helpers like truncate, so it must be possible to stuff the custom ones

thanks for any help.

Try adding:

  include ActionView::Helpers::TextHelper
  include ActionView::Helpers::TagHelper
  include ApplicationHelper

to the class, or atleast the ApplicationHelper one. I haven't tried it,
but it may work.