Merrigan escribió:
> Hi,
>
> I have now eventually finished my newbie-backup script and I'm very
> proud of the way it functions...
>
> Anyways, I am looking for an easy way to use smtplib to send an email
> with the output log of the script to multiple accounts. I need to use
> it with a smtp serv
Merrigan wrote:
> mesg['To'] = recievelist
It's already been pointed out that this is a problem, but I just wanted
to mention also that 'recieve' is misspelled, in case that affects
anything, or others who might read/use the code.
--
http://mail.python.org/mailman/listinfo/python-list
Replace:
mesg['To'] = recievelist
By:
mesg['To'] = ', '.join(recievelist)
--
http://mail.python.org/mailman/listinfo/python-list
On 13 May 2006 03:13:33 -0700, Merrigan <[EMAIL PROTECTED]> wrote:
> ::
>
> Code
> ::
> def mailSender():
> openlogmsg = open(completelog, 'rb')
> mesg = MIMEText(openlogmsg.read())
> openlogmsg.close()
> mesg['Subject'] = subject
> mesg['From'] = fromaddy
>
Hi Guys,
I just wanted to post the error, and then also the coda that causes
itI get this no matter what I do to this, and I don't understand
it. Any help would be welcome. Thank you
Error
::
Traceback (most recent call last):
File "/home/merrigan/projects/Backup Script/hobbitarchive.py", l
Hi,
I have now eventually finished my newbie-backup script and I'm very
proud of the way it functions...
Anyways, I am looking for an easy way to use smtplib to send an email
with the output log of the script to multiple accounts. I need to use
it with a smtp server, and cannot pipe it directly t