Searched refs:to_addrs (Results 1 – 4 of 4) sorted by relevance
/third_party/python/Lib/ |
D | smtplib.py | 808 def sendmail(self, from_addr, to_addrs, msg, mail_options=(), argument 889 if isinstance(to_addrs, str): 890 to_addrs = [to_addrs] 891 for each in to_addrs: 898 if len(senderrs) == len(to_addrs): 912 def send_message(self, msg, from_addr=None, to_addrs=None, argument 957 if to_addrs is None: 962 to_addrs = [a[1] for a in email.utils.getaddresses(addr_fields)] 969 ''.join([from_addr, *to_addrs]).encode('ascii') 986 return self.sendmail(from_addr, to_addrs, flatmsg, mail_options,
|
/third_party/python/Doc/library/ |
D | smtplib.rst | 441 .. method:: SMTP.sendmail(from_addr, to_addrs, msg, mail_options=(), rcpt_options=()) 454 The *from_addr* and *to_addrs* parameters are used to construct the message 477 *from_addr* and *to_addrs* may contain non-ASCII characters. 512 .. method:: SMTP.send_message(msg, from_addr=None, to_addrs=None, \ 520 If *from_addr* is ``None`` or *to_addrs* is ``None``, ``send_message`` fills 524 *to_addrs* combines the values (if any) of the :mailheader:`To`, 535 values of *from_addr* and *to_addrs*, ``send_message`` does not transmit any 537 in *msg*. If any of the addresses in *from_addr* and *to_addrs* contain
|
/third_party/python/Lib/test/ |
D | test_smtplib.py | 499 smtp.send_message(m, from_addr='John', to_addrs='Sally') 589 smtp.send_message(m, from_addr='joe@example.com', to_addrs='foo@example.net')
|
/third_party/python/Doc/whatsnew/ |
D | 3.2.rst | 713 *from_addr* and *to_addrs* addresses directly from the object.
|