This project is archived and is in readonly mode.
Add ActionMailer file delivery method
-
Simon Harris
OK let me try that diff again this time with the commits the right way around :)
-
Xavier Noria
I like this feature.
The rdoc for :location mentions sendmail... Could you revise that bit?
-
Simon Harris
OK, here's another patch.
-
CancelProfileIsBroken
- Tag changed from actionmailer to actionmailer, bugmash
-
Elise Huard
when i try to apply the patch, i get
Patch does not have a valid e-mail address. -
Eric Davis
+1 This patch will make testing email rendering a lot easier in development and could replace the role of the inaction_mailer gem.
I've added some additional enhancements to the patch:
- Try to use the tmp directory in Rails Root and fallback to the system tmp directory
- Create the directory for the mail if it doesn't exist
- Write emails to users in the To, CC, and BCC field instead of just To
I've attached a test.
-
Eric Davis
I've attached a patch for the master branch also.
-
Repository
- State changed from new to committed
(from [fbe6c3c19553fd05edc904af62fbfc8aee1d907d]) Adds a :file delivery_method to save email to a file on disk
Signed-off-by: Michael Koziarski michael@koziarski.com
[#2438 Add ActionMailer file delivery method state:committed] http://github.com/rails/rails/commit/fbe6c3c19553fd05edc904af62fbfc... -
CancelProfileIsBroken
- Tag changed from actionmailer, bugmash to actionmailer
- Milestone cleared.
