similar to: ActionMailer Question -- can''t find email templates

Displaying 20 results from an estimated 110 matches similar to: "ActionMailer Question -- can''t find email templates"

2006 May 05
1
ActionMailer with attachments, body is blank
I am trying to use the Rails Recipe for sending emails with attachments. However, when I add an attachment, my body fails to render. The resulting email has the attachment, but is blank otherwise. In the book, it mentions that this is "broken" in rails 1.0 and to upgrade to a newer version or edge rails. Well, I am running on 1.1.2 and it''s still happening. When I look
2009 Mar 02
1
ActionMailer
i have this in my mdel infomailer.rb class Infomailer < ActionMailer::Base helper :application end but i can''t understand why i can''t use method defined i application_helper.rb in template app/views/infomailer/send_order.html.erb please help -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because
2006 Dec 21
2
Problem installing MinGW 5.0.3: Your internet connection seems to be not permitted or dropped out!
Hi, All: I'm having trouble installing MinGW 5.0.3, trying to follow Duncan Murdoch's suggestions (http://www.murdoch-sutherland.com/Rtools/). I download "MinGW-5.0.3.exe" as he suggested. After double-clicking on it, I get past "Welcome to MinGW" and select either "Download and install" or "Download only" and choose to install
2006 Jul 12
1
validate method not getting called?
Here''s a snippet of my model: validates_presence_of :from_name, :from_email, :reply_name, :reply_email, :eSubject protected def validate puts "Calling: #{target_list_ids}" errors.add_to_base("You must choose at least one target list for this job") if self.target_list_ids.nil? end It appears that the validates_presence_of are being called just fine,
2012 Apr 22
2
Cisco AnyConnect on 6.2 32-bit?
Grr.. I'm pulling my hair out trying to get the Cisco AnyConnect client to work under 6.2 32-bit. Seems like there is always 1 thing preventing my from using the latest centos release as my sole workstation. It was actually working on a new install for about half a day. I rebooted and now it won't connect. If I boot another vm (ubuntu or oel 5.7) the same client works. Im using version
2020 Jul 27
0
SegFault when using TunnelServer=yes
Hi. I have few questions out of curiosity.. Cant help for now with your problem... What version is crashing? 1.1 or 1.0 ? How your network is segmented..? I use tinc myself here a lot too (1.0) but my network is very segmented. I use switch mode and handle routing myself, so mesh links arent large.. I would NOT go beyond 30 nodes for full auto-mesh.. its already like 435 edges... Regards,
2020 Jun 19
2
SegFault when using TunnelServer=yes
Hi all, I have a network with about ~800. The network is a mix of tinc 1.0 and 1.1 nodes. It is gradually expanding for several years now. The problem is that at some point it seams the daemon can not handle the processing of the new connection and the edges. There are 3 major nodes in the system and every other node initially makes connection to one of them. Now after a lot of debugging
2020 Jul 28
0
SegFault when using TunnelServer=yes
Thanks for answers. I think its now flaw.. but design.. Tinc auto-mesh is very very handy. You just need to avoid flat networks. There is also IndirectMode w/ forces nodes to be switched by intermediate node... but I would be cautionus how its used. I use it myself for certain nodes behind NATs where they cannot be connected to, so always connect node handles switching for them. You noticed it
2007 May 29
0
specs for ActionMailer
Hi, Email notifications are an important part of my app and I would like to spec them. Here''s what I have going so far. It seems to work. I''d appreciate comments/suggestions. Rails script/generate mailer produces tests for the email contents etc. I''ve started by manually converting the generated unit tests to rspec, and then changing/adding examples as I
2006 Jul 14
7
Form validation - keepin correct fields displayed on refresh
All, I''m finally doing my first real form in Rails - the model object that I''m entering information for has 8 validations so far. If I type in good values for all the fields but one, I get the pretty validation, and the nice field highlighting, but all of the fields are cleared, forcing me to retype all of that info. That is a big drag. Is there a standard way to get the
2020 Jul 27
3
SegFault when using TunnelServer=yes
Hi, thank for getting back. I'll answer the questions, but I've already gave up on tinc and switch to zerotier-one. On 2020-07-27 5:10 p.m., borg at uu3.net wrote: > Hi. I have few questions out of curiosity.. Cant help for now with > your problem... > > What version is crashing? 1.1 or 1.0 ? 1.1 is crashing > > How your network is segmented..? > I use tinc myself
2006 Jul 11
0
ActiveMailer HTML + Plain Text + Attachment?
How do you do this? Tried all the examples on the wiki, and unfortunately the trac is not accessible right now to check the trouble tickets. No matter what I do the mime structure seems to be incorrect. It seems that adding an attachment to a html+plaintext message is not possible using the standard methods. I have seen some old posting on the mailing list about overriding the deliver method
2008 Apr 09
1
Need help in passing parameters to a background job method
<backgroundrb-devel at rubyforge.org>I am trying to send email as a background process from within a Rails app. The goal is that when I go to http://mysite.com/foo/bar, the background job kicks in and sends an email out. The relevant code snippets are below. This errors out with a wrong number of arguments passed (2 for 1) message. I think I am making a mess of passing parameters to the
2006 Feb 02
1
actionmailer - No rhtml, rxml, or delegate template
I''m getting this error when I try to send an email. No rhtml, rxml, or delegate template found for signup_thanks But I do have signup_thanks.rhtml in app/view/notifier This is in the notifier model. class Notifier < ActionMailer::Base def signup_thanks(sent_at = Time.now) @subject = "the subject works!" @body["first_name"] = "first name"
2007 Nov 05
0
calling a method after deliver
Hi, I am trying to call a method after message is delivered via MyMailer.deliver_message. Is the below the same as this? MyMailer.deliver_message create_sent_record? class MyMailer < ActionMailer::Base def message( subject, body, recps, sent_at = Time.now) @subject =subject @body = body @recipients = recps @from =
2005 Apr 12
0
What does EOFError mean in ActionMailer?
I''m trying to implement a user verification phase in my user registration controller. So I do something like this from within my controller: Notifications.deliver_verification(@user) The method in the mailer object looks like this: def verification(user,sent_at = Time.now) @subject = ''Welcome to XXX'' @body = {} @recipients = user.email @from
2009 Jul 30
0
Problem with implicit multipart emails using ActionMailer in Rails 2.3.3
With earlier versions of Rails ActionMailer used to implicitly send multipart (text/plain and text/html) email messages for me, but it looks like now it''s sending two text/plain parts. Simplified details: Here''s my model: class Notifications < ActionMailer::Base def confirmation(sent_at = Time.now) @subject = ''Thank you for registering'' @body
2008 Oct 25
7
Routing of result not clear in ActionMailer
Dear all, I am trying to understand the following behaviour of the ActionMailer in Rails 2. I have an emailer_controller.rb class EmailerController < ApplicationController def send_mail Emailer::deliver_contact_email(params[:email]) end end I have a model emailer.rb class Emailer < ActionMailer::Base def contact_email(email_params, sent_at = Time.now) @recipients =
2007 Dec 20
4
Ruby on Rails mailer
Today I made a first attempt to make use of ruby mailer. A volunteer fills out a form and the information is then sent to an administrator. I generated a mailer called notifier and added the following: class Notifier < ActionMailer::Base def volunteer_signup(volunteer, sent_at = Time.now) @subject = ''A new volunteer has signed up'' @body = { :title =>
2006 Jul 04
0
Best way of storing and recalling data for display?
I want to store a number of snippets of html representing messages, and display them in response to user events. I''m currently storing them in a javascript array at page-load time, then display individual snippets using Element.update(). The message array can get extra messages added to it following an ajax call. The set up looks something like this: <script