public Method

Mail.error_reply_addresses( default = nil )

Returns the "sender" field as an array -> useful to find out who to send an error email to.

Source Code

# File action_mailer/vendor/tmail-1.2.2/tmail/interface.rb, line 1047
def error_reply_addresses( default = nil )
  if s = sender(nil)
    [s]
  else
    from_addrs(default)
  end
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.