Message-ID: header is missing unless you have tracking options set

L

Larry Rosenman

In Outlook 2003, if I don't have any of the tracking options set, the outgoing SMTP messages do NOT contain a Message-ID: header. According to RFC (2)822, the
message needs to contain a Message-ID: header.

If you set ANY of the tracking options, OL generates the message-id.

It needs to do it for ALL generated SMTP messages.

Thanks,
LER
 
L

Larry Rosenman

Larry Rosenman said:
In Outlook 2003, if I don't have any of the tracking options set, the outgoing SMTP messages do NOT contain a Message-ID: header. According to RFC (2)822, the
message needs to contain a Message-ID: header.

If you set ANY of the tracking options, OL generates the message-id.

It needs to do it for ALL generated SMTP messages.

Thanks,
LER

Oh, and at least some servers will BOUNCE the message without a Message-ID: header. After I posted this, I re-read some of the threads here, and discovered that
this is *INTENTIONAL*.

It's not good.

You *NEED* to generate a Message-ID: in ALL cases, not just when the tracking options are set.
 
S

Sue Mosher [MVP-Outlook]

Actually the Message-ID is an optional reference field.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



Larry Rosenman said:
In Outlook 2003, if I don't have any of the tracking options set, the
outgoing SMTP messages do NOT contain a Message-ID: header. According to
RFC (2)822, the
 
L

Larry Rosenman

I'd like to see your RFC reference. It's a REQUIRED field to the
best of my knowledge in SMTP transactions.

Not all MTA's add it on a TCP connection.
 
S

Sue Mosher [MVP-Outlook]

From 4.1:

optional-field =
/ "Message-ID" ":" msg-id
/ "Resent-Message-ID" ":" msg-id
/ "In-Reply-To" ":" *(phrase / msg-id)
/ "References" ":" *(phrase / msg-id)
/ "Keywords" ":" #phrase
/ "Subject" ":" *text
/ "Comments" ":" *text
/ "Encrypted" ":" 1#2word
/ extension-field ; To be defined
/ user-defined-field ; May be pre-empted


A.3. COMPLETE HEADERS

A.3.1. Minimum required

Date: 26 Aug 76 1429 EDT Date: 26 Aug 76 1429 EDT
From: [email protected] or From: [email protected]
Bcc: To:
[email protected]

Note that the "Bcc" field may be empty, while the "To" field
is required to have at least one address.

A.3.2. Using some of the additional fields

Date: 26 Aug 76 1430 EDT
From: George Jones<Group@Host>
Sender: Secy@SHOST
To: "Al Neuman"@Mad-Host,
Sam.Irving@Other-Host
Message-ID: some.string@SHOST

I think that makes it pretty clear that Message-ID is not among the minimum
fields required.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Top