Class: Keystone::Mail::MessageSjis

Inherits:
Message show all
Defined in:
lib/keystone/mail__old/message_sjis.rb

Overview

encoding 未実装

Instance Attribute Summary

Attributes inherited from Message

#body, #mail_from, #mail_from_text, #mail_to, #subject

Instance Method Summary collapse

Methods inherited from Message

#initialize, #set_option, #to_src

Constructor Details

This class inherits a constructor from Keystone::Mail::Message

Instance Method Details

#encode_bodyObject



19
20
21
# File 'lib/keystone/mail__old/message_sjis.rb', line 19

def encode_body
  Kconv.tosjis(@body)
end

#encode_mime(st) ⇒ Object



11
12
13
# File 'lib/keystone/mail__old/message_sjis.rb', line 11

def encode_mime(st)
  Kconv.tosjis(st)
end

#mime_header_stringObject



15
16
17
# File 'lib/keystone/mail__old/message_sjis.rb', line 15

def mime_header_string
  "=?ShiftJIS?B?"        
end