- Load the branch:
xpo_improvement
- Open Rails console
- Run the command:
Resque.inline = true
- Grab the biller:
biller = Biller.find <id>
- Create a new importer object:
importer = Dade::EmailAdviceImporter.new
- Run the perform method on it:
importer.perform('/Users/Abraham/Desktop/potential_advices', biller.id, '[email protected]')
Notes: The first parameter is the absolute path to that folder. The third parameter is the recipient used for the inbound addresses, you can put there an XPO email address