Re: Server.sendmail with no "to_addrs" parameter.

2006-03-23 Thread Arne Ludwig
Sorry to have caused all that confusion. The quote from RFC822 I gave is really confusing and is indeed not relevant to the original question. As Tim pointed out, the "to_addrs" parameter in smtplib.py::sendmail is translated to the SMTP RCPT TO and thus must contain all the intended recipients whe

Re: Server.sendmail with no "to_addrs" parameter.

2006-03-23 Thread Tim Roberts
"EdWhyatt" <[EMAIL PROTECTED]> wrote: > >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! OK, I'm a bit concerned that the answer to the original question has been lost. The difference between the SMTP en

Re: Server.sendmail with no "to_addrs" parameter.

2006-03-22 Thread Jim Segrave
In article <[EMAIL PROTECTED]>, Jeffrey Froman <[EMAIL PROTECTED]> wrote: >EdWhyatt wrote: > >> But are you serious about that RFC Compliant thing? > >RFC 2822 obsoletes RFC 822, and I don't know of any specification in RFC >2822 that requires an email address to be present in the To: header. My >

Re: Server.sendmail with no "to_addrs" parameter.

2006-03-22 Thread Jim Segrave
In article <[EMAIL PROTECTED]>, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: >On 22 Mar 2006 08:31:16 -0800, "EdWhyatt" <[EMAIL PROTECTED]> >declaimed the following in comp.lang.python: > >> So it's a restriction of Python? >> > RFC822 is the /standard/ (well, there are newer versions -- 282

Re: Server.sendmail with no "to_addrs" parameter.

2006-03-22 Thread Jeffrey Froman
EdWhyatt wrote: > But are you serious about that RFC Compliant thing? RFC 2822 obsoletes RFC 822, and I don't know of any specification in RFC 2822 that requires an email address to be present in the To: header. My mail seems to generally work fine without a To: header. I haven't memorized RFC 2

Re: Server.sendmail with no "to_addrs" parameter.

2006-03-22 Thread Tim Williams (gmail)
On 22 Mar 2006 08:31:16 -0800, EdWhyatt <[EMAIL PROTECTED]> wrote: So it's a restriction of Python?What I am trying to simulate here is the sending of mail to addressessolely in the CC and/or BCC fields - both of which are possible throughOutlook.-- http://mail.python.org/mailman/listinfo/python-li

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) Microso

Re: Server.sendmail with no "to_addrs" parameter.

2006-03-22 Thread Jeffrey Froman
EdWhyatt wrote: > I would like to have the ability to send a mail > message with no-one email address in the To field. The to_addrs parameter is for the SMTP "RCPT TO", which must contain at least one address. It has nothing to do with the To: header of the email. You can *also* add the recipien

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 Arne Ludwig
> Can anyone suggest how I can get round this? I have attempted numerous > things, like making my recipient list = [''], but Exchange then tried > to send the mail to "[EMAIL PROTECTED]" . rfc822: Note that the "Bcc" field may be empty, while the "To" field rfc822: is required to have a

Re: Server.sendmail with no "to_addrs" parameter.

2006-03-22 Thread Tim Williams (gmail)
On 22 Mar 2006 03:18:41 -0800, EdWhyatt < [EMAIL PROTECTED]> wrote: Hi all, I have searched the group with no answer to this particularproblem.In my sendmail program, I would like to have the ability to send a mailmessage with no-one email address in the To field. I do this by adding the mail to th

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 poin