Created
May 14, 2011 02:35
-
-
Save AquaGeek/971837 to your computer and use it in GitHub Desktop.
Rails Lighthouse ticket #6703
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/actionmailer/lib/action_mailer/base.rb b/actionmailer/lib/action_mailer/base.rb | |
| index 3e4e7d1..80a70f9 100644 | |
| --- a/actionmailer/lib/action_mailer/base.rb | |
| +++ b/actionmailer/lib/action_mailer/base.rb | |
| @@ -720,7 +720,7 @@ module ActionMailer #:nodoc: | |
| def perform_delivery_sendmail(mail) | |
| sendmail_args = sendmail_settings[:arguments] | |
| - sendmail_args += " -f \"#{mail['return-path']}\"" if mail['return-path'] | |
| + sendmail_args += " -f \"#{mail['return-path'].spec}\"" if mail['return-path'] | |
| IO.popen("#{sendmail_settings[:location]} #{sendmail_args}","w+") do |sm| | |
| sm.print(mail.encoded.gsub(/\r/, '')) | |
| sm.flush |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment