Philipp Überbacher, 2010-01-15 22:38:
>> Have you tried[1] what Person.from_address("<[email protected]>")
>> actually returns?
>
> >> Person.from_address("<[email protected]>")
> => #<Redwood::Person:0x7f6d045b1ff8
> @email="[email protected]",
> @name="hollunder">
So no problem there. Does your log show anything when replying? If
not, you could add logging to your hook (logging things you do in your
hooks ain't a bad habit).
if message.has_label?(:mailinglists)
info "Looks like replying to a mailinglist."
Person.from_address("[email protected]")
elsif message.has_label?(:murks_lavabit)
info "Looks like replying as murks."
Person.from_address("[email protected]")
end
--
Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
_______________________________________________
sup-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/sup-talk