>If I'm understanding what you've posted, I think there's confusion
>with regards to the recipients.  The envelop recipients should be at
>the end, netstring encoded.  What you've posted looks like the
>contents of the message, specifically the From: and To: stuff which
>would be near the Subject: and other header lines.  This is just
>cosmetic, part of the actual message data, not the envelop recipients
>which determine where the MTA should actually attempt to deliver.
>
>Does this help?


Hi Chris,

Yes, the recipients in my example below are defined in the message header 
AND in the QMQP recipient field. In the example the first 74 bytes contains 
the message with the header, the following 16 bytes is the sender, and the 
remaining 21 and 16 bytes are the 2 recipients:

143:74:\nFrom: [EMAIL PROTECTED]\nTo: [EMAIL PROTECTED] (dave)\n\nThis 
is a test.,
16:[EMAIL PROTECTED],21:[EMAIL PROTECTED],16:[EMAIL PROTECTED],,

You stated in your email that the recipients should appear at the end of 
the package netstring encode. Do you mean that my recipients (above) should 
look like the following as the spec is written:

45:21:[EMAIL PROTECTED],16:[EMAIL PROTECTED],,

Looking at the C code the above recipient field will not work.  I'm 
concerned that I'm using an older version of the QMQP source, or I have 
misunderstood the protocol.

thanks,

-dave









Reply via email to