[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sup-talk] reply-from.rb troubles



Excerpts from William Morgan's message of Sun Jan 17 16:24:36 +0100 2010:
> Reformatted excerpts from Philipp Überbacher's message of 2010-01-16:
> > I added said lines but after attempting a reply I don't see the
> > messages in any log files. So far I've discovered in ~/.sup/
> > exception-log.txt and sup-exception-log.txt but I see none of these
> > entries in there.  Where are those supposed to end up?
> 
> In the log buffer. If you hit ';' you'll see it.

Thanks. Now when replying to this message I see:
[Sun Jan 17 16:37:06 +0100 2010] Looks like replying to a mailinglist.

Yet it doesn't use the right address.
This is the hook:

if message.has_label? :mailinglists
  info "Looks like replying to a mailinglist."
  Person.from_address "<hollunder@lavabit.com>"
elsif message.has_label? :murks_lavabit
  info "Looks like replying with default."
  Person.from_address "<murks@lavabit.com>"
end

So it seems the issue is that
Person.from_address "<hollunder@lavabit.com>"
doesn't get executed or doesn't work for some reason.

I don't know what's the issue here...

Thanks,
Philipp

_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk