2

I'm trying the following guide on mailman

http://dansowter.com/mailman-guide/

up until the incoming_mail.rb part I was finding it really easy. But where do I put that file?

Joseph Le Brech
  • 6,541
  • 11
  • 49
  • 84

1 Answers1

3

The best place to me, is in the lib directory lib/incoming_mail.rb

shingara
  • 46,608
  • 11
  • 99
  • 105
  • ok, it's in the `lib/` directory but I still get this `uninitialized constant IncomingMail (NameError)` – Joseph Le Brech Feb 15 '12 at 16:46
  • you need require it `require 'incoming_mail'` or define lib autoload in your application configuration – shingara Feb 15 '12 at 16:51
  • i'm almost on the right track here, ``require': no such file to load -- incoming_mail (LoadError)` thanks for the help. – Joseph Le Brech Feb 15 '12 at 16:58
  • ok, you try require 'incoming_mail' in your mailman_server.rb script I suppose. If it's that you require after environment in line 9 of mailman_server.rb – shingara Feb 15 '12 at 17:08