Displaying 3 results from an estimated 3 matches for "applicationmailer".
2004 Oct 25
1
Rails 0.8: Just shy of 100 additions, changes, tweaks, and fixes!
...Hello there,
Mr. david-OiTZALl8rpK0mm7Ywyx6yg@public.gmane.org
You never actually call the instance methods like signed_up directly.
Instead, you call class methods like deliver_* and create_* that are
automatically created for each instance method. So if the signed_up
method sat on ApplicationMailer, it would look like this:
ApplicationMailer.create_signed_up("david-OiTZALl8rpK0mm7Ywyx6yg@public.gmane.org") # =>
tmail object for testing
ApplicationMailer.deliver_signed_up("david-OiTZALl8rpK0mm7Ywyx6yg@public.gmane.org") # sends
the email
ApplicationMailer....
2007 Jun 19
1
ActionMailer cancel send from one of deliver_* methods
Seems like executing a return in one of the deliver_* methods of
ActionMailer doesn''t cancel the delivery. The template is still read
right after the return method has been executed and because all
variables in the template are empty, all kinds of errors occur.
I need to validate the email (and test whether it actually exists)
before a delivery is made and I''m trying to put all
2005 Nov 17
7
render :partial in mail template
Hi,
Is it possible to render a partial template from within a mail template?
I get the following error
undefined method `controller_path'' for SupportMailer:Class
Extracted source (around line #8):
5:
6: <%= @url %>
7:
8: <%= render_partial ''sig_admin'' %>
Jeroen