Email templates
mathlarocque opened this issue · 2 comments
mathlarocque commented
Is there a way to have multiple template? Following your doc, I can create a template using a file in mail_form/contact.erb but apparently I can not create a second template... Is there an easy way to do so?
carlosantoniodasilva commented
It depends, why do you want a second template for? Are you sending different emails and want them to have different templates? It was not designed for that case, it only allows for a single template since it's a single notifier.
What you could do though is to override the deliver!
method which is responsible to actually trigger the notificar, and do something else.
Hope that helps.