diff --git a/app/models/user.rb b/app/models/user.rb
index 281e71281..0ac5e7d63 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -74,7 +74,7 @@ class User < Principal
validates_confirmation_of :password, :allow_nil => true
def before_create
- self.mail_notification = 'only_my_events'
+ self.mail_notification = Setting.default_notification_option
true
end
diff --git a/app/views/settings/_notifications.rhtml b/app/views/settings/_notifications.rhtml
index cb1c1abf1..2c62cdf9f 100644
--- a/app/views/settings/_notifications.rhtml
+++ b/app/views/settings/_notifications.rhtml
@@ -7,6 +7,9 @@
<%= setting_check_box :bcc_recipients %>
<%= setting_check_box :plain_text_mail %>
+
+<%= setting_select(:default_notification_option, User::MAIL_NOTIFICATION_OPTIONS.collect {|o| [l(o.last), o.first.to_s]}) %>
+