Server.sendmail with no to_addrs parameter.

2006-03-22 Thread EdWhyatt
Hi all, I have searched the group with no answer to this particular problem. In my sendmail program, I would like to have the ability to send a mail message with no-one email address in the To field. I do this by adding the mail to the CC field via a header. However, by the time I get to the

Re: Server.sendmail with no to_addrs parameter.

2006-03-22 Thread EdWhyatt
So it's a restriction of Python? What I am trying to simulate here is the sending of mail to addresses solely in the CC and/or BCC fields - both of which are possible through Outlook. -- http://mail.python.org/mailman/listinfo/python-list

Re: Server.sendmail with no to_addrs parameter.

2006-03-22 Thread EdWhyatt
Ok, totally unrelated, and on that subject, I will make sure I always have a recipient in the To: field. - hey it works if I do that anyway! But are you serious about that RFC Compliant thing? Can anyone shed anymore light on this? I cannot believe that (regardless of our opinions of them)

Adding Multiple Attachments to SMTP mail (msg.add_header)

2006-03-10 Thread EdWhyatt
Hi all, I hope there is someone out there who can help me out - it has to be something obvious. I am simulating mail traffic, and want to include multiple attachments to my mail. I have created a temporary array containing a number of files - for now just 2. Debugging my code, I can see that I