search for: perform_deliveries

Displaying 20 results from an estimated 41 matches for "perform_deliveries".

2006 Jun 28
2
perform_deliveries = false
Hi, Can someone explain the proper use of the use of perform_deliveries in the environment.rb file?? ActionMailer::Base.perform_deliveries = false I just moved a new controller to the production version of an app, but wanted to be sure everything was properly configured before sending out a big mailing, so I set perform_deliveries = false, believing that woul...
2009 Aug 10
2
testing exception notification plugin with rspec
...;request" rendering section "session" rendering section "environment" rendering section "backtrace" Sent mail to myemail-NbxmIS7vw0kAvxtiuMwx3w@public.gmane.org but the spec fails : ActionMailer::Base.delivery_method = ''test'' ActionMailer::Base.perform_deliveries = false ActionMailer::Base.deliveries = [] @size_before = ActionMailer::Base.deliveries.count lambda { get ''dummy_method_raises_exception'' }.should raise_error (RuntimeError) ActionMailer::Base.deliveries.count.should eql(@size_before + 1) <==== here I got 0 and not 1 Does som...
2006 Mar 05
5
DreamHost and ActionMailer
I''m getting ready to sign up with DreamHost, but my application is missing the ActionMailer features. First, can anyone provide some real code to send an email upon comment submission? Second, is it easy to setup ActionMailer on a DreamHost server? Thanks! -- Posted via http://www.ruby-forum.com/.
2011 Feb 28
6
How do I stop email from being delivered in the interceptor?
Hi, I am developing a rails 3 application. I want to use a interceptor before delivering emails. If a conditions meets, I want to stop the email. How do I do that? Thanks. Sam -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2005 Dec 15
5
Action Mailer - connection refused - connect(2)
...n is ActionMailer::Base.delivery_method = :smtp # or :sendmail or test ActionMailer::Base.server_settings = { :address => "mail.albertafilmworks.com", :port => 25, :domain => "brucebalmercanada.com" } ActionMailer::Base.perform_deliveries = true # alternative was false ActionMailer::Base.default_charset = "utf-8" I have created the mail successfully because I can display it in my browser. But when I try to send it I get this error: Errno::ECONNREFUSED in Events#send_my_email Connection refused - connect(2) My mail...
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, :domain => "mydomain.com", :user_name => "myusername", :password => "mypassword", :a...
2006 Dec 14
0
feature request: config option to toggle scheduled jobs based on environment
...cate deployment. The ideal for me would be some flag I could set that tells BackgroundRB not to run it''s scheduled tasks, and have that flag automatically set based on the current RAILS_ENV. This would be similar to the way ActionMailer works, where I have a line: config.action_mailer.perform_deliveries = false in my config/environments/development.rb file and a line: config.action_mailer.perform_deliveries = true in my config/environments/production.rb file. So something like: config.backgroundrb.enable_scheduler = false or config.backgroundrb.run_scheduled_tasks = false would be a...
2006 Mar 14
2
ActionMailer not working correctly
...d = :smtp ActionMailer::Base.server_settings = { :address => "mail.mydomain.com", :port => 25, :domain => ''mydomain.com'', :user_name => "blah", :password => "password", :authentication => :login } ActionMailer::Base.perform_deliveries = true ActionMailer::Base.raise_delivery_errors = true ActionMailer::Base.default_charset = "utf-8" And the error from production.log: Net::SMTPAuthenticationError (535 Error: authentication failed): /usr/lib/ruby/1.8/net/smtp.rb:586:in ''auth login'' I''ve c...
2009 Mar 17
1
ActionMailer works for gmail/yahoo, but not for other email addresses...HELP!
...worked. Why doesn''t it work through my rails app? here are my configuration settings (mostly default) # Disable delivery errors, bad email addresses will be ignored config.action_mailer.delivery_method = :smtp config.action_mailer.raise_delivery_errors = true config.action_mailer.perform_deliveries = true config.action_mailer.default_charset = "utf-8" config.action_mailer.smtp_settings = { :address => "localhost", :port => 25, :domain => "my-app.com" } help please! thanks Tony --~--~---------~--~----~------------~-------~--~----~ You...
2006 Mar 14
1
ActionMailer Error - Please Help!
..._method = :smtp ActionMailer::Base.server_settings = { :address => "mail.mydomain.com", :domain => "mail.mydomain.com", :port => 25, :authentication => :login, :user_name => "myuname", :password => "mypwd" } ActionMailer::Base.perform_deliveries = true ActionMailer::Base.raise_delivery_errors = true ActionMailer::Base.default_charset = "utf-8" #model - notifier.rb class Notifier < ActionMailer::Base def comment_alert(post) # Email header info MUST be added here @recipients = "me@somewhere.com" @from = "ry...
2010 Mar 04
5
has anybody made actionmailer work with rails 2.3.5?
Hi, I have wasted few days and I''m not getting anywhere. I was trying to follow tutorial on Rails Guides and this one: http://www.tutorialspoint.com/ruby-on-rails/rails-send-email.htm . All I need is to be able to send some text, nothing fancy. Why in Rails it has to be so difficult? Why it can''t be so simple as in PHP? Can anybody point me to some good simple tutorial,
2006 Apr 27
11
Action Mailer Error!!!
What does this mean? Bad file descriptor - connect(2) -- Posted via http://www.ruby-forum.com/.
2008 Apr 20
10
Actionmailer not working [no errors]
hi, I have a little problem with actionmailer 2.0.2 The problem is that I am trying to send mails and development.log says that everything is ok but I can''t find any mails in my mailbox. I checked my sendmail with PHP function "mail()" - works nice. /var/log/mail.log don''t drop any lines when sending mails with actionmailer. So in conclusion no errors and no way to
2009 Feb 26
1
Line breaks removed from ActionMailer template
...config/ environments/develpment.rb: config.action_mailer.raise_delivery_errors = true config.action_mailer.delivery_method = :sendmail config.action_mailer.sendmail_settings = { :location => ''/usr/sbin/ sendmail'', :arguments => ''-i -t''} config.action_mailer.perform_deliveries = true I''m writing the template in TextMate and have tried all three line- ending types: LF CRLF CR I''ve even tried via SMTP on another server, and have had the exact same results. I''ve thought of just going straight to HTML e-mail and formatting it using <p> and...
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
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 Nov 14
6
ActionMailer - Sent but no mail?
Hi, I am attempting to use ActionMailer to send out an email (SMTP) and am having an issue. The log files show that the email is sent, but the email is not making it to my inbox. I have followed the documentation both on the Wiki and in the AWD book. I''m not sure which setting I have incorrect and need some pointers. :authentication - should this be set to true, or
2009 Jul 28
6
how to set smpt server for our rails applicaion
hi i am using technoweenie-restful-authentication plug-in for authentication in my application. i want to send a activation link to the user''s mail-id. for that i need to set the smpt server for our rails application, for that i added the follwing code in config/environment.rb file ActionMailer::Base.delivery_method:smpt ActionMailer::Base.smpt_settings = { :address =>
2006 Aug 15
0
ActionMailer
...onment.rb ActionMailer::Base.delivery_method = :smtp ActionMailer::Base.server_settings = { :address => "auth.smtp.1and1.co.uk", :port => 25, :user_name => "myusername", :password => "mypassword", :authentication => :login } ActionMailer::Base.perform_deliveries = true ActionMailer::Base.raise_delivery_errors = true ActionMailer::Base.default_charset = "utf-8" ActionMailer::Base.default_content_type = "text/html" # default: "text/plain" ActionMailer::Base.default_mime_version = "1.0" ActionMailer::Base.default_implic...
2006 Mar 27
3
Email On Dreamhost
...mtp ActionMailer::Base.server_settings = { :address => "mail.irishwebdesigner.com", :domain => "irishwebdesigner.com", :port => 25, :authentication => :login, :user_name => "jdunneuk", :password => "password" } ActionMailer::Base.perform_deliveries = true ActionMailer::Base.raise_delivery_errors = true ActionMailer::Base.default_charset = "utf-8" -- Posted via http://www.ruby-forum.com/.