Mms-mime is a project mainly written in Ruby, based on the MIT license.
Ruby parser for MM7-wrapped MMS/MIME messages
= mms-mime
This gem was written with a simple aim to parse MM7 wrapped binary and base64 encoded MMS messages received via MM7/XML HTTP post from an MM7 compatible gateway connection (such as OpenWave, OpenMarket, etc).
The gem provides a simple way to parse and access MMS message contents, such as from, to, subject and content parts (including image and text parts).
== Usage
require 'mms-mime'
p = Mime::Mms::Parser.new :bytes => env['rack.input'].read
m = p.parse
m.subject => "Hello!"
m.text => "Test MM"
m.from => "77777"
m.to => "14155556666"
File.open("image.jpg","w") { |f| f.write m.image_parts.first.body }
== Contributing to mms-mime
== Copyright
Copyright (c) 2011 Konstantin Gredeskoul. See LICENSE.txt for further details.