Home
last modified time | relevance | path

Searched refs:to_addrs (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython3/Lib/
Dsmtplib.py788 def sendmail(self, from_addr, to_addrs, msg, mail_options=(), argument
869 if isinstance(to_addrs, str):
870 to_addrs = [to_addrs]
871 for each in to_addrs:
878 if len(senderrs) == len(to_addrs):
892 def send_message(self, msg, from_addr=None, to_addrs=None, argument
937 if to_addrs is None:
942 to_addrs = [a[1] for a in email.utils.getaddresses(addr_fields)]
949 ''.join([from_addr, *to_addrs]).encode('ascii')
966 return self.sendmail(from_addr, to_addrs, flatmsg, mail_options,
/external/python/cpython2/Lib/
Dsmtplib.py667 def sendmail(self, from_addr, to_addrs, msg, mail_options=[], argument
739 if isinstance(to_addrs, basestring):
740 to_addrs = [to_addrs]
741 for each in to_addrs:
745 if len(senderrs) == len(to_addrs):
/external/python/cpython3/Doc/library/
Dsmtplib.rst422 .. method:: SMTP.sendmail(from_addr, to_addrs, msg, mail_options=(), rcpt_options=())
435 The *from_addr* and *to_addrs* parameters are used to construct the message
458 *from_addr* and *to_addrs* may contain non-ASCII characters.
493 .. method:: SMTP.send_message(msg, from_addr=None, to_addrs=None, \
501 If *from_addr* is ``None`` or *to_addrs* is ``None``, ``send_message`` fills
505 *to_addrs* combines the values (if any) of the :mailheader:`To`,
516 values of *from_addr* and *to_addrs*, ``send_message`` does not transmit any
518 in *msg*. If any of the addresses in *from_addr* and *to_addrs* contain
/external/python/cpython2/Doc/library/
Dsmtplib.rst291 .. method:: SMTP.sendmail(from_addr, to_addrs, msg[, mail_options, rcpt_options])
304 The *from_addr* and *to_addrs* parameters are used to construct the message
/external/python/cpython3/Lib/test/
Dtest_smtplib.py374 smtp.send_message(m, from_addr='John', to_addrs='Sally')
458 smtp.send_message(m, from_addr='joe@example.com', to_addrs='foo@example.net')
/external/python/cpython3/Doc/whatsnew/
D3.2.rst711 *from_addr* and *to_addrs* addresses directly from the object.