Logo Search packages:      
Sourcecode: pythoncard version File versions  Download package

def manilaaccount::ManilaAccount::manilaCreateMsg (   self,
  subject,
  body,
  bodyType 
)

Creates a message.

Definition at line 100 of file manilaaccount.py.

00100                                                       :
        """Creates a message."""
        if (not self.checkSetupOK()):
            return 0

        try:
            boolTrue = xmlrpclib.Boolean(1)
            renderInfo = { "name" : "pikeRenderer",
                           "flRenderOnEntry" : boolTrue }
            msg = self.manilaSite.manila.message.create(self.prefs["username"], \
                                                        self.getPassword(), \
                                                        self.settings["sitename"],
                                                        subject, body, bodyType, 0, 0, renderInfo)
            self.setErrorMessage("")
        except xmlrpclib.Fault, e:
            self.setErrorMessage("Error creating message: %s" % e.faultString)
            return 0
        return msg


    def manilaAttachPicture(self, msgNum, pictureFilename, mimeType):


Generated by  Doxygen 1.6.0   Back to index