]> nos-oignons.net Git - gestion-adh.git/blob - bin/send-membership-reminders
Add missing require to load OpenStruct
[gestion-adh.git] / bin / send-membership-reminders
1 #!/usr/bin/ruby1.9.1
2 #-*- coding: utf-8 -*-
3
4 require 'rubygems'
5 require 'bundler'
6 Bundler.setup
7
8 require 'mail'
9 require 'nos_oignons'
10
11 Mail.defaults do
12   delivery_method :sendmail
13 end
14
15 NosOignons.send_membership_reminders!