Skip to content

Instantly share code, notes, and snippets.

@kawaguchi
kawaguchi / mail_patch.rb
Created March 27, 2012 02:33 — forked from dakatsuka/mail_patch.rb
ドットが連続したメールアドレスに対処するパッチ(Mail::Message.from)
# coding: utf-8
module Mail
class Message
def from_with_patch_rfc_violation
str = from_without_patch_rfc_violation
begin
str = str.join
rescue