Created
January 19, 2012 07:15
-
-
Save monde/1638549 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ruby -rrubygems -Ilib -e "require 'mms2r'; require 'pp'; require 'logger'; mms = MMS2R::Media.new(Mail.read('yahoo_mail.txt'), :logger => Logger.new(STDOUT)); pp mms.media; pp mms.number; pp mms.carrier; pp mms.mail.parts.first.body" | |
I, [2012-01-18T23:13:22.361798 #16992] INFO -- : MMS2R::Media created | |
I, [2012-01-18T23:13:22.373058 #16992] INFO -- : MMS2R::Media processing | |
I, [2012-01-18T23:13:22.392366 #16992] INFO -- : MMS2R::Media writing file /tmp/mike/mms2r/132690569569845YahooMailNeoweb39301mailmudyahoocom_5b9274c1e5d6f0d2cc51cf13029e4cb350eb540b/1/1326957202.3911154.txt | |
I, [2012-01-18T23:13:22.395197 #16992] INFO -- : MMS2R::Media writing file /tmp/mike/mms2r/132690569569845YahooMailNeoweb39301mailmudyahoocom_5b9274c1e5d6f0d2cc51cf13029e4cb350eb540b/2/1326957202.3946183.html | |
{"text/plain"=> | |
["/tmp/mike/mms2r/132690569569845YahooMailNeoweb39301mailmudyahoocom_5b9274c1e5d6f0d2cc51cf13029e4cb350eb540b/1/1326957202.3911154.txt"], | |
"text/html"=> | |
["/tmp/mike/mms2r/132690569569845YahooMailNeoweb39301mailmudyahoocom_5b9274c1e5d6f0d2cc51cf13029e4cb350eb540b/2/1326957202.3946183.html"]} | |
"hermpaek" | |
"yahoo.com" | |
reply from yahoo web mail | |
________________________________ | |
From: Respondbox <[email protected]> | |
To: [email protected] | |
Sent: Thursday, January 5, 2012 5:55 PM | |
Subject: Response from testBus | |
� Hi there, | |
testBus has sent you the following message: | |
� reply from business � | |
View conversation and respond on Respondbox. | |
Your original feedback was sent Thu, 05 Jan 2012 17:54 EST: | |
� test using yahoo mail � � | |
� Thanks, | |
The RespondBox Team |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment