aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/application_mailer.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/application_mailer.rb')
-rw-r--r--app/models/application_mailer.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/models/application_mailer.rb b/app/models/application_mailer.rb
index 9d61a16e6..71cc96ead 100644
--- a/app/models/application_mailer.rb
+++ b/app/models/application_mailer.rb
@@ -4,12 +4,14 @@
# Copyright (c) 2008 UK Citizens Online Democracy. All rights reserved.
# Email: francis@mysociety.org; WWW: http://www.mysociety.org/
#
-# $Id: application_mailer.rb,v 1.4 2008-02-19 12:13:07 francis Exp $
+# $Id: application_mailer.rb,v 1.5 2008-02-20 12:51:29 francis Exp $
class ApplicationMailer < ActionMailer::Base
# Include all the functions views get, as emails call similar things.
helper :application
+ # This really should be the default - otherwise you lose any information
+ # about the errors, and have to do error checking on return codes.
self.raise_delivery_errors = true
def contact_from_name_and_email