Sendmail with many attach and recipients

2005-02-03 Thread Tim Williams
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Here, my code of sendmail If Somebody had a doubt please contact me? [EMAIL PROTECTED] [snip] If you have multiple recipients, you need to modify server.sendmail(msg['From'],toaddrs,msg.as_string()) to failed = server.sendmail(msg['F

Sendmail with many attach and recipients

2005-02-03 Thread fernandestb
Here, my code of sendmail If Somebody had a doubt please contact me? [EMAIL PROTECTED] # -*- coding: cp1252 -*- ## Faz o import das bibliotecas necessarias. import mimetypes import os.path import smtplib import sys from email.Encoders import encode_base64 from email.MIMEAudio import MIMEAudio f