Sending a large number of emails is not an easy task. It can take a lot of time so you need to do it asynchronously. Also, if you are on a shared hosting, you might be limited to a certain number of emails per hour, so you need to divide your list of email addresses in batches and send them at certain intervals.
There’s a plugin that can help us with this: ar_mailer.
This plugin adds a new deliver method to ActionMailer::Base :activerecord. In this delivery method, emails are not actually delivered, they are stored into a database table. A ruby script ar_sendmail can then be run (in a cron job) in order to send the emails saved in the database.
Step by step intructions on how to use the plugin:
1) Install the plugin
./script/plugin install git://github.com/adzap/ar_mailer.git
Add following line to config/environment.rb:
config.gem "adzap-ar_mailer",


Analyzing how users are prompted to review iPhone apps, it seems that our apps are more likely to get negative reviews. Here’s why: a user is prompted to rate an app
We needed a server-side script recently to send emails with attachments from an iPhone App. We’ve chosen PHP because we wanted to keep it as simple as possible (we wanted no dependencies).
You might encounter the following error message when working with 1-4-unstable branch of Rhodes:
The ID of an object (record in a table) is an important piece of information. In most of the situations when we need an object from the database, we search for it using its ID. Moreover, the ID is usually part of the URL of a page.
Ever desired a method to handle a DateTime picker in Rhodes without reloading the page? The ideal solution would be to tap the datetime input field to popup the DateTime picker, choose a date and/or time and tap ‘Done’. This would automatically display the selection into the input field.
Even though the iPhone specific CSS is not perfect in Rhodes, it can be easily customized to improve the look of the app and make it similar to a native one. But there’s another important aspect for the look & feel of a native iPhone app: animations (transitions between views) and this is missing in Rhodes.
Recent Comments