Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/
Dsmtplib.py792 def sendmail(self, from_addr, to_addrs, msg, mail_options=(), argument
873 if isinstance(to_addrs, str):
874 to_addrs = [to_addrs]
875 for each in to_addrs:
882 if len(senderrs) == len(to_addrs):
896 def send_message(self, msg, from_addr=None, to_addrs=None, argument
941 if to_addrs is None:
946 to_addrs = [a[1] for a in email.utils.getaddresses(addr_fields)]
953 ''.join([from_addr, *to_addrs]).encode('ascii')
970 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.rst440 .. method:: SMTP.sendmail(from_addr, to_addrs, msg, mail_options=(), rcpt_options=())
453 The *from_addr* and *to_addrs* parameters are used to construct the message
476 *from_addr* and *to_addrs* may contain non-ASCII characters.
511 .. method:: SMTP.send_message(msg, from_addr=None, to_addrs=None, \
519 If *from_addr* is ``None`` or *to_addrs* is ``None``, ``send_message`` fills
523 *to_addrs* combines the values (if any) of the :mailheader:`To`,
534 values of *from_addr* and *to_addrs*, ``send_message`` does not transmit any
536 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.py429 smtp.send_message(m, from_addr='John', to_addrs='Sally')
519 smtp.send_message(m, from_addr='joe@example.com', to_addrs='foo@example.net')
/external/python/cpython3/Doc/whatsnew/
D3.2.rst713 *from_addr* and *to_addrs* addresses directly from the object.