Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
a5b2acd6
Kaydet (Commit)
a5b2acd6
authored
Haz 25, 2005
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
backport Patch #1227442: smtplib.SMTP.sendmail() accepts list or string for to_addrs.
üst
1ec9c52d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
libsmtplib.tex
Doc/lib/libsmtplib.tex
+8
-7
No files found.
Doc/lib/libsmtplib.tex
Dosyayı görüntüle @
a5b2acd6
...
...
@@ -190,13 +190,14 @@ the \refmodule{socket} module's \function{ssl()} function.
\begin{methoddesc}
{
sendmail
}{
from
_
addr, to
_
addrs, msg
\optional
{
,
mail
_
options, rcpt
_
options
}}
Send mail. The required arguments are an
\rfc
{
822
}
from-address
string, a list of
\rfc
{
822
}
to-address strings, and a message string.
The caller may pass a list of ESMTP options (such as
\samp
{
8bitmime
}
)
to be used in
\samp
{
MAIL FROM
}
commands as
\var
{
mail
_
options
}
. ESMTP
options (such as
\samp
{
DSN
}
commands) that should be used with all
\samp
{
RCPT
}
commands can be passed as
\var
{
rcpt
_
options
}
. (If you
need to use different ESMTP options to different recipients you have
to use the low-level methods such as
\method
{
mail
}
,
\method
{
rcpt
}
and
string, a list of
\rfc
{
822
}
to-address strings (a bare string will be
treated as a list with 1 address), and a message string. The caller
may pass a list of ESMTP options (such as
\samp
{
8bitmime
}
) to be used
in
\samp
{
MAIL FROM
}
commands as
\var
{
mail
_
options
}
. ESMTP options
(such as
\samp
{
DSN
}
commands) that should be used with all
\samp
{
RCPT
}
commands can be passed as
\var
{
rcpt
_
options
}
. (If you need to use
different ESMTP options to different recipients you have to use the
low-level methods such as
\method
{
mail
}
,
\method
{
rcpt
}
and
\method
{
data
}
to send the message.)
\note
{
The
\var
{
from
_
addr
}
and
\var
{
to
_
addrs
}
parameters are
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment