lib/mapi/convert.rb
def mime_type
			case props.message_class #.downcase <- have a feeling i saw other cased versions
			when 'IPM.Contact'
				# apparently "text/directory; profile=vcard" is what you're supposed to use
				'text/x-vcard'
			when 'IPM.Note'
				'message/rfc822'
			when 'IPM.Post'
				'text/plain'
			when 'IPM.StickyNote'
				'text/plain' # hmmm....
			else
				Mapi::Log.warn 'unknown message_class - %p' % props.message_class
				nil
			end
		end
# get the mime type of the message. 
get the mime type of the message.
get the mime type of the message .
def mime_type
			case props.message_class 
			when 'IPM.Contact'
				'text/x-vcard'
			when 'IPM.Note'
				'message/rfc822'
			when 'IPM.Post'
				'text/plain'
			when 'IPM.StickyNote'
				'text/plain' 
			else
				Mapi::Log.warn 'unknown message_class - %p' % props.message_class
				nil
			end
		end
def mime_type case props . message_class when 'IPM.Contact' 'text/x-vcard' when 'IPM.Note' 'message/rfc822' when 'IPM.Post' 'text/plain' when 'IPM.StickyNote' 'text/plain' else Mapi :: Log . warn 'unknown message_class - %p' % props . message_class nil end end
get the mime type of the message.
get the mime type of the message .
#.downcase <- have a feeling i saw other cased versions # apparently "text/directory; profile=vcard" is what you're supposed to use # hmmm....