'Constructor.'

def __init__(self, f, n, fp):

    Message.__init__(self, f, n, fp)
    if (self.getmaintype() == 'multipart'):
        self.body = Message.getbodyparts(self)
    else:
        self.body = Message.getbodytext(self)
    self.bodyencoded = Message.getbodytext(self, decode=0)
