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



In article <qq0322to837ap4b6eo4m9uh5krn9ekhsf3@xxxxxxx>,
Dennis Lee Bieber <wlfraed@xxxxxxxxxxxxx> wrote:
On 22 Mar 2006 08:31:16 -0800, "EdWhyatt" <ed.whyatt@xxxxxxxxx>
declaimed the following in comp.lang.python:

So it's a restriction of Python?

RFC822 is the /standard/ (well, there are newer versions -- 2822?)
for email... It is not Python specific.

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.

Technically, then -- Outlook is in violation of the standard (you
expected Microsoft to be following standards?)

RFC822 and its followup 2822 do not require a To: address line in the
headers - rfc2822 has the minimum number listed as 0

There is a difference between the SMTP time recipient address list
(RCPT TO:) which detemines what the receiving MTA should do with the
message and the email header To:/CC:/Bcc: lines, which don't (or
should not in any working system) affect mail routing at all. You
can't get mail delivered via SMTP without a RCPT TO command at SMTP
time. Many programs extract this address, in the absence of some other
means of specifying it, by taking the addresses from the To:, CC: and
Bcc: headers, but that's a programming convenience, not an RFC
requirement. Since most people composing emails would find it annoying
to have to enter the RCPT TO addresses separately, the message
composition builds header lines, then sends the message to an MTA
using those addresses. But consider bouncing a mail - then the
desintation for SMTP is the address you are bouncing the mail to, and
the header lines are unchanged (one hopes, if not, replace your mail client)

Much as it pains me to admit it, Outlook, for all its many faults is
correct if it allows sending messages where the To: CC: and or Bcc:
headers are empty.


--
Jim Segrave (jes@xxxxxxxxxxxxxx)

.



Relevant Pages

  • RE: No IP address logging on internal email.
    ... The headers you describe are SMTP ... the same server MAPI doesn't add anything to the SMTP header. ... "Send-As" permission is sending-as these users, so check mailbox rights. ...
    (microsoft.public.exchange2000.transport)
  • Re: Strange SPAM with no tracks...!?
    ... the destination domain generates a NDR for the recipient in your domain whose email address was spoofed in headers. ... If the destination domain did a SenderID check and you had SPF records published, it would have been easy to determine that the sending host is not authorized to send for your domain and this sort of thing can be avoided. ... For assistance, contact your system administrator. ... Searching for co.sutter.ca.us in the Exchange SMTP logs gives me no hits at all. ...
    (microsoft.public.exchange.admin)
  • Re: Can anyone explain Bayesian filtering/calculations?
    ... like all-caps "To", "From", etc. headers. ... like messages inserted by the SMTP ... trying to make it as good as a maintained spam blocker. ... lookups to find the target's mail server, ...
    (comp.programming)
  • Re: Mising BBC feature since reformat
    ... Create Mail>View>All Headers. ... addresses into To, CC, or BCC fields. ... MS MVP - (IE/OE) ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)