Kun <[EMAIL PROTECTED]> wrote:
>
>Kun wrote:
>> i have the following code:
>>
>> --
>> import smtplib
>>
>> from email.MIMEText import MIMEText
>> fp = open('confirmation.txt', 'rb')
>> msg = MIMEText(fp.read())
>>
>> From = '[EMAIL PROTECTED]'
>>
>> msg['Subjec
smtplib docs http://python.active-venture.com/lib/SMTP-example.html
say that the to should be a list of addresses (your emails);
s.sendmail(msg['From'], emails, msg.as_string())
-Larry Bates
Kun wrote:
> Kun wrote:
>> i have the following code:
>>
>> --
>> import
Kun wrote:
> i have the following code:
>
> --
> import smtplib
>
> from email.MIMEText import MIMEText
> fp = open('confirmation.txt', 'rb')
> msg = MIMEText(fp.read())
>
> From = '[EMAIL PROTECTED]'
>
> msg['Subject'] = 'Purchase Confirmation'
> msg ['From'] =