差出人名の部分 だけ MIMEエンコードする必要がある
require 'nkf'
from = "#{NKF.nkf('-jWM', '差出人')} <user@example.com>"
#=> "=?ISO-2022-JP?B?GyRCOjk9UD9NGyhC?= <user@example.com>"
Go to list of users who liked
More than 5 years have passed since last update.
差出人名の部分 だけ MIMEエンコードする必要がある
require 'nkf'
from = "#{NKF.nkf('-jWM', '差出人')} <user@example.com>"
#=> "=?ISO-2022-JP?B?GyRCOjk9UD9NGyhC?= <user@example.com>"
Register as a new user and use Qiita more conveniently
Go to list of users who liked