Mailman - 一个Ruby邮件接收处理微框架

网友投稿 664 2022-10-26

Mailman - 一个Ruby邮件接收处理微框架

Mailman - 一个Ruby邮件接收处理微框架

Mailman is an incoming mail processing microframework (with POP3 and Maildir support), that works with Rails "out of the box".

require 'mailman'Mailman::Application.run do to 'ticket-%id%@example.org' do
 Ticket.find(params[:id]).add_reply(message) endend

See the User Guide for more information.

If you'd like to maintain this gem, email jonathan@titanous.com.

Installation

gem install mailman

Compatibility

Tested on Ruby 2.1, 2.0, 1.9.3, JRuby, and Rubinius.

Ruby < 2.0.0

In order to use this gem with ruby versions older then 2.0.0, you have to restrict the maildir gem to the latest supported version in your Gemfile:

gem 'maildir', '< 2.1.0'

Thanks

This project was originally sponsored by Ruby Summer of Code (2010), and mentored by Steven Soroka.

Copyright

Copyright (c) 2010-2013 Jonathan Rudenberg. See LICENSE for details.

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:(视频+图文)机器学习入门系列-第4章 朴素贝叶斯
下一篇:Medoo:高效的轻量级 PHP 数据库框架
相关文章

 发表评论

暂时没有评论,来抢沙发吧~