similar to: ActionMailer Validation

Displaying 20 results from an estimated 10000 matches similar to: "ActionMailer Validation"

2007 Dec 08
6
Rails 2.0 ActionMailer breaks my redmine render_message
I am using ''redmine'' (v 0.6) as my major project manager, seems running fine w Rails 2.0 (slight modifs for paginations..) but I am stuck with a major error when sending a confirmation email : mailer.rb class Mailer < ActionMailer::Base .... # Renders a message with the corresponding layout def render_message(method_name, body) layout =
2006 Jan 24
9
ActionMailer: Mail isn''t delivered
Hi all I used the search for this, but I got an Application Error, so sorry for the newbie question. I have tried to send an e-mail using ActionMailer. I have to following config (environment.rb): ActionMailer::Base.server_settings = { :address => "mail.psyguide.org", :port => 25, :domain => "mail.psyguide.org", #:authentication => :login, #:user_name
2005 Mar 06
2
Using url_for in ActionMailer templates
Hi All I am just adding some basic e-mail notices to my Rails app using ActionMailer, and have one small issue. I want to provide a confirmation URL to users who sign up for an account. I can obviously just hardcode the URL and append the confirmation code to it, but I''d much rather be able to use something like: url_for(:controller => ''authentication'', :action
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''
2007 Feb 04
10
Spec''ing ActionMailer
Good morning (Pacific Time). I have a controller action that, as a side-effect, sends an email to an administrator. I want it to do something like this: specify "when someone successfully signs up, an email should be sent to the administrator with the person''s contact page" do post :signup, {...lots o'' params} response should_be success #
2005 Mar 29
0
ActionMailer tmail/quoting.rb problem
Hi, Why did you allow this incompatibility? ;) * fixtures/notifications/signup: _foo @expected.body = read_fixture(''signup'') p @expected.body #=> " foo\n" # because text.gsub(/_/," ") If you enhance TMail::Mail#body like this, I want you to convert mail.body code in render_body. My mailer code now: # topic is a ActiveRecord instance. topic
2006 Mar 15
3
Any one who can help with how to implement such a login?
http://www.wayfaring.com/ I think it is implemented using rails. For if u input the wrong url,u can see a "rails" style error hint. I really like its ajax login system. from the source of the homepage,it can be seen the login part is: <div> <h1>Log In</h1> <form action="/account/login_ajax" method="post" onsubmit="new
2006 Aug 15
2
Are form_remote_tag and submit_to_remote mutually exclusive?
Do I need to use submit_to_remote in conjunction with or instead of form_remote_tag? The description in the API docs. is confusing. Is the combination of form_tag/submit_to_remote valid? Is the combination of from_remote_tag/submit_tag valid? Thanks, Wes -- Posted via http://www.ruby-forum.com/.
2006 Mar 14
1
ActionMailer Error - Please Help!
I''m trying to send an email to myself when someone comments on my site. Here''s my code, if you don''t mind, could you tell me if you see something wrong? #environment.rb # Include your application configuration below ActionMailer::Base.delivery_method = :smtp ActionMailer::Base.server_settings = { :address => "mail.mydomain.com", :domain =>
2006 Mar 14
2
ActionMailer not working correctly
Anyone know why this wouldn''t work? I''m using acts_as_authenticated for my login, and the mail is not getting sent. I''m using dreamhost. Here''s my settings: ActionMailer::Base.delivery_method = :smtp ActionMailer::Base.server_settings = { :address => "mail.mydomain.com", :port => 25, :domain => ''mydomain.com'',
2006 Aug 09
3
Can''t update actionmailer gem?
Trying to update actionmailer gem, and it''s complaining about the version of actionpack not being correct. C:\eclipse\workspace>gem update actionmailer Updating installed gems... Attempting remote update of actionmailer Install required dependency actionpack? [Yn] Y ERROR: While executing gem ... (Gem::GemNotFoundException) Could not find actionpack (= 1.12.4) in the repository
2005 Aug 26
2
Salted Login Hash Woes
I had the Salted Login Hash Generator working at one point and then it just stoped working. It was around the time that I changed hosts and I think that it just might not be able to connect to the new server. I have tried everything though and it just doesn''t seem to work out. I''m now thinking that maybe it has to do with something else that I changed in the project. Is
2006 Oct 31
3
ActionMailer how to check mail sent
OS X 10.4.8 I am sending an email via Actionmailer settings are written correctly in environment.rb ActionMailer::Base.delivery_method = :smtp ActionMailer::Base.raise_delivery_errors = :true ActionMailer::Base.perform_deliveries = :true ActionMailer::Base.default_charset = "utf-8" ActionMailer::Base.server_settings = { :address => "mail.mydomain.com", :port => 25,
2009 Oct 31
3
1.9 Compat and merging mail gem into ActionMailer
Hi all of both RoR Core and TMail. You may know me better as the maintainer of TMail. However, TMail has been a bit difficult to get working with Ruby 1.9, so in the light of that, I sat down over the past few months and wrote myself an all encompasing mail gem. Mail passes all of its hundreds of specs equally well in Ruby 1.8.6, 1.8.7 and 1.9.1. Mail reads every email in the TMail test suite
2006 Jun 16
0
Strange problem with ActionMailer
I have the following code to send out email notifications. The view can vary for each call to signup_confirmation, so I''m setting template_root on each call in order to do that. It works for a while, but after a few days it will start using a value of signup_path that was used in a previous call. In other words, Notifier.template_root = signup path does not actually set
2006 Jun 21
0
Possible bug in actionmailer
I have the following code to send out email notifications. The view can vary for each call to signup_confirmation, so I''m setting template_root on each call in order to do that. It works for a while, but after a few days it will start using a value of signup_path that was used in a previous call. In other words, Notifier.template_root = signup path does not actually set
2007 Aug 10
1
ActionMailer and Dreamhost
Hello, I am running my RoR app on localhost and am trying to implement ActionMailer. In my environment.rb config file, I am pointing to my smtp server on Dreamhost: ActionMailer::Base.delivery_method = :sendmail ActionMailer::Base.server_settings = { :address => ''mail.domain.info'', :port => 25, :domain =>
2006 Sep 09
2
actionmailer HELP
Hi, I want to receive emails with actionmailer.And I try to do this example: http://wiki.rubyonrails.org/rails/pages/HowToReceiveEmailsWithActionMailer I am working on windows and I couldn''t set up Actionmailer for windows. How can I configure actionmailer for windows? I am glad,if anybody can help me Regards... -- Posted via http://www.ruby-forum.com/.
2006 Aug 01
2
actionmailer cant find template in backgroundrb
Im trying to send mails from a backgroundrb worker and it seems like ActionView cant find my template. same code works as a rake task. here my worker: class StatusMailWorker < BackgrounDRb::Rails repeat 1.minutes # <-- hehe! def do_work(args) [...blah...] NotificationMailer.create_daily_report(users, rep, items) end end end its throwing the following error: No
2008 Jun 23
1
ActionMailer Fails To Send Emails Post Authentication
I am trying to send emails via actionmailer. It was working fine before and now suddenly what was working is no longer working! I have one version of the application running in production and whenever I try to run it in production I get the error No connection could be made because the target machine actively refused it. - connect(2) (see details in the attached text file) Now when I try to