2007-04-02 03:58:11 +00:00
|
|
|
module Rex
|
|
|
|
module MIME
|
|
|
|
class Part
|
|
|
|
|
|
|
|
require 'rex/mime/header'
|
|
|
|
|
|
|
|
attr_accessor :header, :content
|
|
|
|
|
|
|
|
def initialize
|
|
|
|
self.header = Rex::MIME::Header.new
|
|
|
|
self.content = ''
|
|
|
|
end
|
|
|
|
|
|
|
|
def to_s
|
|
|
|
self.header.to_s + "\r\n" + self.content + "\r\n"
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
2008-10-19 21:03:39 +00:00
|
|
|
end
|