Logo Search packages:      
Sourcecode: zope-maildrophost version File versions  Download package

def Products::MaildropHost::MaildropHost::Email::__init__ (   self,
  mfrom,
  mto,
  body,
  temp_path 
)

Instantiate a new email object 

Reimplemented in Products::MaildropHost::MaildropHost::TransactionalEmail.

Definition at line 243 of file MaildropHost.py.

00243                                                    :
        """ Instantiate a new email object """
        if not (isinstance(mto, StringType) or isinstance(mto, UnicodeType)):
            self.m_to = ','.join(mto).replace('\r', '').replace('\n', '')
        else:
            self.m_to = mto.replace('\r', '').replace('\n', '')
        self.m_from = mfrom.replace('\r', '').replace('\n', '')
        self.body = body
        self._tempfile = temp_path
        self._transactional = False


    def send(self):


Generated by  Doxygen 1.6.0   Back to index