Class: ActionMailer::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/disallow_sendmail_method.rb

Instance Method Summary collapse

Instance Method Details

#perform_delivery_sendmail(ignored) ⇒ Object

Raises:

  • (SecurityError)


2
3
4
5
6
# File 'lib/disallow_sendmail_method.rb', line 2

def perform_delivery_sendmail(ignored)
  raise SecurityError,
    "[Canonical] Sendmail method is explicitly disallowed so that we don't " +
    "accidentally configure ourselves into a security hole"
end