After a grueling 48 hours of attempting to get back in Google’s good graces regarding email to their domain we are ‘on the way’ to being whitelisted. The process was aggravating, frustrating, and in the end I learned an important lesson: Tarpitting is definitely something worth being proactive about. With more subscribers everyday there are [...]
Entries from December 2006
December 6, 2006
Receiving Email with ActionMailer
This really was a snap. A nice and simple testing recipe (#68) demonstrates how to read in an email from a fixture in just a few lines and pass them to your processing method (MailReceiver.receive in this case). def read_fixture(action) IO.readlines(“#{FIXTURES_PATH}/mail_receiver/#{action}”) end def test_something email = read_fixture(“junk_mail”).join MailReceiver.receive(email) # assertions end And then a few [...]