Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple message templates #8

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Multiple message templates #8

wants to merge 8 commits into from

Conversation

GarPit
Copy link

@GarPit GarPit commented Jun 23, 2011

With this modifications you can specify multiple message templates. So, you can specify emailer part like this one:

user:
  subject: Subject1
  from: [email protected]  
  recipients_field: email
organization:
  from: [email protected]
  subject: Subject2
  recipients:
    - [email protected]
redirect_to: /about-us

Each top level key (except :redirect_to) in this config means some custom email page part (like "email_key_html" for html parts or "email_key" for plain parts). So, for this configuration we must specify "email_user_html" part and "email_organization_html". With this feature you can specify as many config parts and templates as you want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant