Does anyone have any experience with creating a templating system for
e-mails sent via Rails? Here is what I’d like to do:
- User selects “Create message” from my application
- User selects a predefined template from dropdown list.
- Selected template populates the message field with the template
tags replaced with correct values (replacing <%= @tutor.name %> with
John D. for example)
The issue I am running into is I am not sure if I can use standard
RHTML or ERB templates to define the Mail templates. If I can, I am
not sure how to replace the <% %> fields with the correct values on
If anyone has any experience with a solution like this, I am all ears.