similar to: Best practices for email delivery in production

Displaying 20 results from an estimated 1000 matches similar to: "Best practices for email delivery in production"

2009 Jan 23
2
Sendmail with cron
Hi! I''am using crontab for creating an email list every night on daily basis. It works perfectly. And use it for other things also. But my problem is that i can''t get crontab to work for armailer, i would like to have a crontab for ar_sendmail -o but can not get this to work. Any one who have the same problem or even better a solution. Thanks Svea -- Posted via
2006 Aug 15
0
ar_mailer
Rubyforge Project: http://rubyforge.org/projects/rctools Documentation: http://dev.robotcoop.com/Tools/ar_mailer == About Even deliviring email to the local machine may take too long when you have to send hundreds of messages. ar_mailer allows you to store messages into the database for later delivery by a separate process, ar_sendmail. == Installing ar_mailer Just install the gem:
2008 Mar 16
0
ar_mailer problem
Hi, I am having the following problem with ar_mailer. FOr the time being i have manualyy created a record for the email to be sent, in the database in a table named ''emails''. Now if I run ar_sendmail i get the follwing error. C:\Inetpub\event>ar_sendmail Unhandled exception uninitialized constant ActionMailer::ARMailer(NameError):
2012 May 22
3
[RESQUE]Question about queues
I run Resque with x ''general'' queues. With ''general'' I mean a queue that may run every type of Worker. Or in the Rake command: COUNT=x QUEUE=* rake resque:work When a worker runs a job of a specific class, it may not run another job of the same class simultaniously. This job has to wait until the previous job has finished before it may start. BTW The reason
2011 Jan 24
1
passing multiple arguments in resque scheduler
Hi, I have implemented resque scheduler in my application by looking at example here https://github.com/bvandenbos/resque-scheduler. I have configured resque_schedule.yml file, and in that I can pass arguments to the resque job. My requirement is to pass more than one arguments to the queueing resque job. If we consider the example given, clear_leaderboards_contributors: cron: "30 6 * *
2012 Apr 10
2
how to use cronjob
hey everyone i want to send mails by scheduling the time dynamically.lets say in a single table i have all the employee logs who came at different timings.they are from different locations and departments. i want to send mails to different mails ids according to there location to there HR. can i do this with cron job. thanks in advance -- You received this message because you are subscribed to
2011 Apr 18
2
Problem with resque; parent process doesn't die
I am facing problem in resque process. I have following implementation: /config/resque_schedule.yml add_jobs_to_queue: cron: "15 * * * *" class: FooJob description: "Find results from class Bar and put on queue" /app/jobs/foo_job.rb class FooJob @queue = :normal def self.perform Bar.add_jobs end end app/models/bar.rb class Bar def self.add_jobs
2008 Sep 09
6
Prioritizing Mailer Queue / Action Mailer
Hi, I have different kinds of mails going out. For eg: 1. signup 2. notification mails etc I am using mailer queue to avoid mongrels waiting on email to be sent. However, it makes sense to have signup mails go instantaneously whereas other mails can go to mailer queue. Has anyone done such thing? Any suggestions please? Regards, SG -- Posted via http://www.ruby-forum.com/.
2013 May 28
5
Storing Rails controller callback data in session
http://stackoverflow.com/questions/16770090/storing-rails-controller-callback-data-in-session The idea is: - Perform some time consuming action in background. - Have the results from that action be propagated back to the controller using a callback. - Store the result in an in memory session store. - Have the result in session be used and available from that point onward.
2011 Jul 19
2
ActiveRecord::Base.establish_connection in development and production envs
Hi, guys! Background: I''ve resque workers in my application. These workers do several jobs that associated with DB. In development environment, I''ve no need to provide some additional configuration for db, they are use development database. But then I switching to production env, I set ActiveRecord::Base.establish_connection with my production DB parameters. Problem: When
2012 Sep 18
3
Nginx + Phusion Passenger 3 problem with "504 Gateway time-out"
Hi, I have a Rails 3.2 app. There is a specific request that takes a long time to execute. The context is, the user uploads a pdf, and then we have some processing through carrierwave + rmagick that generate a jpeg from the first page of the document. Everything works in dev mode using both webrick and thin. The problem happens on the prod environment with Nginx + Passenger. The request takes a
2011 Apr 27
1
'bignum too big to convert into long' while migration in rails
While i run rake db:migrate i got below error ,let me know any one . Please it is urgent to me. D:\raj\tweasier>rake db:migrate --trace (in D:/raj/tweasier) DEPRECATION WARNING: Rake tasks in vendor/plugins/open_flash_chart_2/tasks, vend or/plugins/resque/tasks, and vendor/plugins/resque/tasks are deprecated. Use lib /tasks instead. (called from
2013 Apr 25
4
Why doesn't SIGTERM quit gracefully?
Hi, I''m wondering why SIGINT and SIGTERM both were chosen for the quick shutdown? I agree with SIGINT but not with SIGTERM. A lot of unix tools send SIGTERM as default (kill, runit among some) and it seems to be the standard way of telling a process to quit gracefully but not among Ruby people (there are a few other ruby processes behaving the same way). I just think it''s weird
2011 Jan 10
2
Problem with multiple requires in Ruby DSL
I''m loving playing around with the DSL. There are some problems (ie 5237), but now that it''s Ruby, I can fix them! woo! However, I''m stumped on this one, which may or may not be related to the DSL. When trying to have a resource have a simple dependency on two things at once, it simply fails, and I''m stumped as to why. The error message is: Parameter
2004 Nov 14
3
Running Photoshop on a relatively old PC
For several months I've been thinking about moving to Linux operating system. This would resque our old machine which is getting left behind when it comes to hardware (and it would also put fun back into computing). The problem is that if I convert the only machine our family has to Linux, it would mean that an important program, Photoshop, which we use everyday has to be abandoned. This
2012 Apr 02
10
Pessimistic locking locks the entire table?
Hi guys, I must be missing something obvious with pessimistic locking. Here is what I do (Rails 2.3, mySQL): In my Foo model: def test Foo.transaction do lock = UpdateLockForFoo.find_by_foo_id(self.id, :lock => true) sleep 30 end end For each Foo model, I have an UpdateLockForFoo. This "lock" needs to be acquired before doing any changes to Foo. I believe it works,
2012 May 09
5
Unicorn doesn't play nice with Capistrano deployment?
I am having issues when using unicorn with a Capistrano deployment. >From what I have been able to understand Capistrano uses a scheme in wich every release is deployed inside the releases directory under a unique name and if the transaction was successful, creates a symlink named current that will point to that release. So I end up with a deployment directory such as:
2010 Aug 21
3
Cleanly handling sub-generatede files with Paperclip
Hi, Let''s say I upload a pdf file. Imagemagick extracts all pages out of it and stores the png images on the hard-drive. How to easily handle all these generated files with Paperclip? Has anyone done that before? Thanks for your advice -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"
2011 Aug 29
0
Why is #verify_active_connections! :nodoc: ?
Hi, I''ve just got a quick question. How come ActiveRecord::ConnectionAdapters::ConnectionHandler#verify_active_connections! is marked with :nodoc: ? I understand that this is used internally (depending upon an application''s configuration?) on every request (?) to clear out old, stale database connections. All this to prevent the old, classic "MySQL server has gone
2011 May 09
17
requests hanging
If my Rails server has been sitting idle for a while, it does not respond to new requests. What is the best way to troubleshoot something like that. I am using Rails 3.0.7 in development. -- 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