]> nos-oignons.net Git - gestion-adh.git/blob - bin/send-member-emails-to-advisors
b85d25dff80cbb098057d539f8e386d903e8ee48
[gestion-adh.git] / bin / send-member-emails-to-advisors
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_member_emails_to_advisors!