> I'm using Postfix to receive email then having it dump the emails to a
> Maildir.  From there I have a ruby daemon using RobustThread which  
> runs
> every 30 seconds to process the emails using Tmail.  Everything is
> working great up to this point.  With TMail I'm able to get the  
> parts of
> the email that I need.
>
> The only question I have is how would be the best way to get the  
> emails,
> from my ruby daemon, into my rails app as a Model and save to  
> database?

You can use Active Record outside of Rails... so you should be able to  
just load it up and use the Model directly (assuming you aren't  
relying on something within your model that is Rails specific).

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to