This project is archived and is in readonly mode.
Add ActionMailer file delivery method
Reported by Simon Harris | April 7th, 2009 @ 03:48 AM
We've found it useful to have emails saved as files when running in development. Here's a patch to enable that:
http://github.com/harukizaemon/r...
and
http://github.com/harukizaemon/r...
(sorry for the double commit)
Comments and changes to this ticket
-
Simon Harris April 7th, 2009 @ 04:39 AM
OK let me try that diff again this time with the commits the right way around :)
-
Xavier Noria April 7th, 2009 @ 10:51 AM
I like this feature.
The rdoc for :location mentions sendmail... Could you revise that bit?
-
CancelProfileIsBroken August 6th, 2009 @ 01:30 PM
- Tag changed from actionmailer to actionmailer, bugmash
-
Elise Huard August 7th, 2009 @ 10:01 PM
when i try to apply the patch, i get
Patch does not have a valid e-mail address. -
Eric Davis August 8th, 2009 @ 05:12 AM
+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.
-
Repository August 8th, 2009 @ 05:32 AM
- 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 state:committed] http://github.com/rails/rails/commit/fbe6c3c19553fd05edc904af62fbfc... -
CancelProfileIsBroken August 8th, 2009 @ 11:04 PM
- Tag changed from actionmailer, bugmash to actionmailer
- Milestone cleared.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Attachments
Referenced by
- 2438 Add ActionMailer file delivery method Signed-off-by: Michael Koziarski michael@koziarski.com [#...