{"blog_url":"https://blog.kyanny.me/","provider_url":"https://hatena.blog","published":"2011-03-01 01:29:37","blog_title":"@kyanny's blog","author_url":"https://blog.hatena.ne.jp/a666666/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.kyanny.me%2Fentry%2F20110301%2F1298996977\" title=\"TMail \u3067\u30e1\u30fc\u30eb\u306b\u6dfb\u4ed8\u3055\u308c\u305f\u753b\u50cf\u30d5\u30a1\u30a4\u30eb\u3092\u53d6\u308a\u51fa\u3059 - @kyanny&#39;s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"provider_name":"Hatena Blog","width":"100%","description":"\u3044\u307e\u306a\u3089 mail \u4f7f\u3063\u305f\u307b\u3046\u304c\u3044\u3044\u3093\u3060\u308d\u3046\u3051\u3069\u3082\u3002https://gist.github.com/848966 raw_message = STDIN.read email = TMail::Mail.parse(raw_message) if email.has_attachments? email.attachments.each do |attachment| image = attachment.read filename = attachment.original_filename end elsif email.content_type == 'image/jpeg' image\u2026","categories":["Ruby"],"height":"190","author_name":"a666666","url":"https://blog.kyanny.me/entry/20110301/1298996977","type":"rich","version":"1.0","title":"TMail \u3067\u30e1\u30fc\u30eb\u306b\u6dfb\u4ed8\u3055\u308c\u305f\u753b\u50cf\u30d5\u30a1\u30a4\u30eb\u3092\u53d6\u308a\u51fa\u3059"}