![pasquale [:dedalus]](https://www.gravatar.com/avatar/26f9564a55a0011c2db18d783c85cc08?rating=PG&size=24&default=identicon) Change default email notification
Change default email notification
Added by pasquale [:dedalus] over 14 years ago
There is any change to change the default body of mail notifications? I supposte the answer is yes, but at this moment I can't make it (I don't know ruby...: I see _edit_issue* and _add_issue* file but my changes fails all time). I want to add on header the classic message (like in bugzilla):
"Do not reply to this email. You can add comments to this bug at <HERE BUG LINK>"
and also no add first message on every edit message because from some time redmine can thread reply and then I can see what is the mail where the bug is added on top thread place!
Replies (4)
     RE: Change default email notification
    -
    Added by Etienne Massip over 14 years ago
    RE: Change default email notification
    -
    Added by Etienne Massip over 14 years ago
  
  
  
  
    ![pasquale [:dedalus]](https://www.gravatar.com/avatar/26f9564a55a0011c2db18d783c85cc08?rating=PG&size=24&default=identicon) RE: Change default email notification
    -
    Added by pasquale [:dedalus] over 14 years ago
    RE: Change default email notification
    -
    Added by pasquale [:dedalus] over 14 years ago
  
  Etienne Massip wrote:
Redmine 1.1.0 (since r4362) allows you to define your own email header in the Administration / Settings / Email notifications tab.
If you really want to alter the body part, edit your local
app/views/layouts/mailer.text.html.erborapp/views/layouts/mailer.text.plain.erb.
I have been tried this, but without success! I should edit mailer.text.plain.erb using ruby syntax?
Thanks for reply!
     RE: Change default email notification
    -
    Added by Etienne Massip over 14 years ago
    RE: Change default email notification
    -
    Added by Etienne Massip over 14 years ago
  
  What did you try ? To set a custom email setting or to edit this file ?
ERb is HTML embedded with ruby. Ruby pieces are surrounded by <% ... > or <= ... %>.
There is a few documentation available here.
    ![pasquale [:dedalus]](https://www.gravatar.com/avatar/26f9564a55a0011c2db18d783c85cc08?rating=PG&size=24&default=identicon) RE: Change default email notification
    -
    Added by pasquale [:dedalus] over 14 years ago
    RE: Change default email notification
    -
    Added by pasquale [:dedalus] over 14 years ago
  
  Etienne Massip wrote:
What did you try ? To set a custom email setting or to edit this file ?
ERb is HTML embedded with ruby. Ruby pieces are surrounded by <% ... > or <= ... %>.
There is a few documentation available here.
To edit the file.
Thanks for link to specs: I see and re-try later.
Ciao