f



sending mail cc, bcc

This is a multi-part message in MIME format.

------=_NextPart_000_000C_01C3E651.F554A310
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello:

I have a library called smtplib that send email
I use these lines to use it:  (from -->to)
------------------------------------
server =3D smtplib.SMTP(server)
server.sendmail(fromaddr, toaddrs, message)
------------------------------------

But I'd like to include some mails CC ,BCC.
(from -->to)
(       |-->cc )
(       |-->bcc)

Does anyone have a library to make it? (mail: from, to, cc, bcc)

Regards
------=_NextPart_000_000C_01C3E651.F554A310
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1276" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hello:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have a library called smtplib that =
send=20
email</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I use these lines to use it:&nbsp; =
<FONT face=3DArial=20
size=3D2>(from --&gt;to)</FONT></FONT></DIV>
<DIV><FONT face=3DArial =
size=3D2>------------------------------------</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>server =3D=20
smtplib.SMTP(server)<BR>server.sendmail(fromaddr, toaddrs,=20
message)<BR>------------------------------------</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>
<DIV>&nbsp;</DIV></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>But I'd like to include&nbsp;some mails =
<STRONG>CC=20
,BCC</STRONG>.</FONT></DIV>
<DIV>
<DIV><FONT face=3DArial size=3D2>(from --&gt;to)</FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2>(&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|--&gt;cc =
)</FONT></DIV>
<DIV>
<DIV><FONT face=3DArial size=3D2>(=20
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|--&gt;bcc)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial =
size=3D2><FONT size=3D4><FONT=20
size=3D2></FONT>&nbsp;</DIV></FONT></FONT><FONT face=3DArial =
size=3D2><FONT=20
size=3D4></DIV></DIV></FONT></FONT>
<DIV><FONT face=3DArial size=3D2>Does anyone have a library to make it? =
(mail: from,=20
to, <STRONG>cc, bcc</STRONG>)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Regards</DIV></FONT></BODY></HTML>

------=_NextPart_000_000C_01C3E651.F554A310--


0
avera8812 (27)
1/29/2004 3:23:37 PM
comp.lang.python 77058 articles. 6 followers. Post Follow

0 Replies
411 Views

Similar Articles

[PageSpeed] 9

Reply: