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

def PasswordResetTool::tests::utils::mailhost::MockMailHost::send (   self,
  message,
  mto = None,
  mfrom = None,
  subject = None,
  encode = None 
)

Basically construct an email.Message from the given params to make sure
everything is ok and store the results in the messages instance var.

Definition at line 17 of file mailhost.py.

00017                                                                             :
        """
        Basically construct an email.Message from the given params to make sure
        everything is ok and store the results in the messages instance var.
        """

        message = email.message_from_string(message)
        message['To'] = mto
        message['From'] = mfrom
        message['Subject'] = subject
        
        self.messages.append(message)
        self._p_changed = True

    def validateSingleEmailAddress(self, address):


Generated by  Doxygen 1.6.0   Back to index