Home
last modified time | relevance | path

Searched refs:mailfrom (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython3/Lib/
Dsmtpd.py175 self.mailfrom = None
237 return self.mailfrom
242 self.mailfrom = value
379 args = (self.peer, self.mailfrom, self.rcpttos, self.received_data)
532 if self.mailfrom:
563 self.mailfrom = address
564 print('sender:', self.mailfrom, file=DEBUGSTREAM)
572 if not self.mailfrom:
671 def process_message(self, peer, mailfrom, rcpttos, data, **kwargs): argument
724 def process_message(self, peer, mailfrom, rcpttos, data, **kwargs): argument
[all …]
/external/python/cpython2/Lib/
Dsmtpd.py305 def process_message(self, peer, mailfrom, rcpttos, data): argument
332 def process_message(self, peer, mailfrom, rcpttos, data): argument
346 def process_message(self, peer, mailfrom, rcpttos, data): argument
356 refused = self._deliver(mailfrom, rcpttos, data)
360 def _deliver(self, mailfrom, rcpttos, data): argument
367 refused = s.sendmail(mailfrom, rcpttos, data)
386 def process_message(self, peer, mailfrom, rcpttos, data): argument
424 refused = self._deliver(mailfrom, rcpttos, data)
435 msg['From'] = mailfrom
/external/python/cpython2/Doc/library/
Dsmtpd.rst32 .. method:: process_message(peer, mailfrom, rcpttos, data)
37 attribute. *peer* is the remote host's address, *mailfrom* is the envelope
/external/python/cpython3/Doc/library/
Dsmtpd.rst69 .. method:: process_message(peer, mailfrom, rcpttos, data, **kwargs)
74 attribute. *peer* is the remote host's address, *mailfrom* is the envelope
224 .. attribute:: mailfrom
264 :attr:`mailfrom`. In extended command mode, accepts the
269 RSET Resets the :attr:`mailfrom`, :attr:`rcpttos`, and
/external/python/cpython3/Lib/test/
Dtest_smtpd.py19 def process_message(self, peer, mailfrom, rcpttos, data, **kw): argument
20 self.messages.append((peer, mailfrom, rcpttos, data))
544 self.assertEqual(self.channel.mailfrom, '"Fred Blogs"@example.com')
550 self.assertEqual(self.channel.mailfrom, '"Fred Blogs"@example.com')
556 self.assertEqual(self.channel.mailfrom, '"Fred Blogs"@example.com')
562 self.assertEqual(self.channel.mailfrom, '"Fred Blogs"@example.com')
Dtest_smtplib.py864 def process_message(self, peer, mailfrom, rcpttos, data): argument
865 self._addresses['from'] = mailfrom
1150 def process_message(self, peer, mailfrom, rcpttos, data, mail_options=None, argument
1153 self.last_mailfrom = mailfrom
Dtest_logging.py814 def process_message(self, peer, mailfrom, rcpttos, data): argument
824 self._handler(peer, mailfrom, rcpttos, data)
1061 peer, mailfrom, rcpttos, data = self.messages[0]
1062 self.assertEqual(mailfrom, 'me')
/external/python/cpython2/Lib/test/
Dtest_smtplib.py412 def process_message(self, peer, mailfrom, rcpttos, data): argument