similar to: Action Mailer and ApplicationHelper method

Displaying 20 results from an estimated 20000 matches similar to: "Action Mailer and ApplicationHelper method"

2006 Jun 05
1
Action Mailer contact form
I am trying to use Rails and the Action mailer to create a simple contact form on a website. I am using a table-less model to validate the form contents, then trying to use the Action Mailer chapter of the "Agile Web Development with Rails" book as a pattern to develop the send e-mail portion. I am having trouble getting it working and was hoping someone could point me in the
2012 Dec 05
0
Action Mailer 3.2.9 retruns duplicates in deliveries array
I am extracting a standalone batch application from a Rails 3.0.1 project. This requires only ActiveRecord and ActionMailer. In my testing I set ActionMailer::Base.delivery_method = :test This causes the mail to be delivered to the ActionMailer::Base.deliveries array. However, I am getting two of the test email messages placed in the deliveries array instead of just one. For example:
2006 May 04
0
Action Mailer Errno::EPIPE using different character sets
1. On my Windows development system everything is fine. 2. On my Linux production server I get an Errno::EPIPE (Broken pipe) error when sending an email using Action Mailer. The specific situation is this: a) Rails 1.1.2 b) The application is running UTF8, but I want to send my emails as ISO-8859-1. c) Sending UTF-8 emails works fine. d) Delivery method is SMTP. e) When using this code
2006 May 24
1
ActionMailer (Action Mailer) Template not found? Help!!
I have been going around on the Internet about this all day and found absolutely nothing that seems to fit this problem. I have a mailer named "Notifier" -- in fact I have been using the EXACT code from the "Agile Development With Rails" chapter on "Sending E-Mail", pp. 411-416, except for my names (mailer named "Notifier", emailer method named
2011 Nov 01
2
Duda con action mailer
Hola, soy nuevo en RoR y tengo un problema con action mailer cuando uso el rubygem el gestor de paquetes y pongo: gem list --local me sale: actionmailer <1.2.5> lo cual indica que lo tengo instalado, el proble a es el siguiente he configurado el fichero environment.rb para poder trabajar con actionmailer , he creado el formulario y casi todo lo que necesito el punto critico llega cuando
2006 Jan 24
4
SMTPSyntaxError with Action Mailer
I''ve been trying to get my action mailer powered form to work all day. I can get it to work perfectly in development mode. But when I run it in production mode I get an error, the log spits this out Net::SMTPSyntaxError (501 Syntax: HELO hostname ): /usr/lib/ruby/1.8/net/smtp.rb:680:in `check_response'' /usr/lib/ruby/1.8/net/smtp.rb:653:in `getok''
2009 Mar 21
0
Action Mailer problem
Hello, I''m trying to make my rails app send mail. I''m using Postfix + Dovecot + SASL on Linux Debian VPS: http://www.debianadmin.com/debian-mail-server-setup-with-postfix-dovecot-sasl-squirrel-mail.html I''m using the following configuration in environment.rb: config.action_mailer.delivery_method = :smtp config.action_mailer.smtp_settings = { :address =>
2006 Jun 27
4
Action Mailer - weird rendering issues
Hello, While sending email notifications from ThoughtNotifier, I am getting weird exceptions, which sometimes occur on the production machine, but I haven''t been able to reproduce on my development machine. There should be no error while rendering `thought_notifier/share_notification.rhtml'' template, but if for some reason it is rendering
2008 Sep 02
3
Unable to set default_url_options[:host] for Action Mailer
I am attempting to provide ActionMailer with the request host needed to generate a url. Here is my code: In config/environments/development.rb config.action_mailer.default_url_options = { :host => "development_url.com" } and in config/environments/production.rb config.action_mailer.default_url_options = { :host => "production_url.com" } When I run the above code
2005 May 30
2
Testing action mailer in functional tests - missing section in the book
Hi ! I just need a pointer on how to do functional testing of ActionMailer. My unit test for the ActionMailer is working fine - now I simply need to assert that it''s being called in my Controller. The testing book ends quite abruptly at http://manuals.rubyonrails.com/read/chapter/64 I searched around on the web, but I didn''t find anything very conclusive. Thanks, François
2008 Mar 04
2
Action Mailer throwing underscores on template name
I''ve recently run into a problem with one of my applications that refuses to send emails using ActionMailer. Looking at the log, it become obvious what''s happening, the system is looking for templates with underscores at the end. Notice the exception_notification_ . For example: ActionView::ActionViewError (No rhtml, rxml, rjs or delegate template found for
2010 Nov 09
3
Rails 3 Action Mailer issue
Hi All, I am trying to send an email on a user sign up. The email is working without any issues. However there is a problem with the :from field that I am specifying. My SMTP setting look like : ActionMailer::Base.smtp_settings = { :address => "smtp.gmail.com", :port => "587", :domain => "test.com",
2008 Mar 31
0
Action Mailer Problem with salted hash login generator
Hi! Guys I am using the salted hash login generator for login purpose. Now, I am working in friendship. When I want to request someone for friendship request via the action mailer I get following error: ===================================== Due to changes in ActionMailer, you need to provide the mailer_name along with the template name. render "user_mailer/signup" render :file
2006 Jan 30
5
Action Mailer woes
Hi gang, Im having my first stab at ActionMailer and not having any luck. Perhaps someone could help me out. I generated a a mailer called ItemMailer - its purpose is to take some information that I''ve already gathered in a ToDo list form and to mail it out to the person who is nominated for the task In environment.rb I have; ActionMailer::Base.server_settings = { :address =>
2006 Oct 17
3
action mailer, error Subject: Header must not be multiple
i want to send multiple emails: #my Controller def send_email if params[:group_ids] groups = Group.find(params[:group_ids]) # creates an array called ''groups'' that looks like : [{:id => 1, :title => ''yediot''}, {:id => 2, :title => ''maariv''} ] --- [ 1, 2 ] else groups = [] end names = [] emails = []
2009 Jan 08
4
SMTP settings for action mailer
with rails 2.2.2 action mailer requires a valid ssl certificate i have a question about routing my smtp settings for my postfix are now ActionMailer::Base.smtp_settings = { :address => "smtp.mydomain.com", :port => 25, :domain => "mydomain.com", :authentication => :plain, :user_name => "mydomain_mailer-3Q2Tfjf0mexWk0Htik3J/w@public.gmane.org",
2006 Mar 17
2
How do I use ''reply-to'' with Action Mailer
Hey there folks, I''m sure there is a stupidly easy answer for this, but I can''t seem to find it. I''m building a site and I want a way for one user to contact another. Simple enough. The problem lies in the fact I want the email to ''come from'' the user, and not from my system. In my ActionMailer class if I do the following: @from =
2006 Jan 24
14
A bad day with Action Mailer
Hi, I''ve setup Action Mailer today to email the contents of a form. Every seemes fine except when the email is sending. Here is the error I get on the production server: SocketError (getaddrinfo: Name or service not known): /usr/lib/ruby/1.8/net/protocol.rb:83:in `initialize'' /usr/lib/ruby/1.8/net/protocol.rb:83:in `new''
2006 Nov 28
1
link_to and url_for in ActionMailer
I am new to ActionMailer and having a problem. I want to be able to send a notification e-mail when a new item is added to a list. Sending an e-mail to the right people on creation is working fine. However, I want to include in the e-mail a link to the application so that users can click on the link in the e-mail and immediately be taken to the show view for the new item. When I add a link_to
2012 Feb 24
3
Devise generates Mailer by its own?
Rails 3.1.3 Hi. I''m a little confused with Devise and ActionMailer. It seems that Devise has its own way of sending mails through ActionMailer. Does it generate Mailer class when "rails g devise..." command is executed? Or do I need to do some special command in order to generate Mailer? I have certainly set up a devise User table but there is no Mailer class for it,