Francois PIETTE wrote:
>> I suggest a better solution would be as follows, which more closes
>> adheres to conventions.  These values have been empirically
>> >discovered testing with Apple Mail, MS Outlook, and Mozilla
>> Thunderbird.  They are also described in various suggested
>> >standards.  Notice that "Normal Priority" is typically marked by
>> the absence of any priority marker. 
> 
>> procedure TCustomSmtpClient.Data;
>> ...
>>         if FHdrPriority < smtpPriorityNormal then begin
>>               FHdrLines.Add('Importance: high');
>>               FHdrLines.Add('X-Priority: 1');
>>           end
>> {
>>           else if FHdrPriority = smtpPriorityNormal then begin
>>               FHdrLines.Add('Importance: normal');
>>               FHdrLines.Add('X-Priority: 3');
>>           end
>> }
>>           else begin
>>               FHdrLines.Add('Importance: low');
>>               FHdrLines.Add('X-Priority: 5');
>>           end;
>> ...
> 
> Look good.

Does that mean that you or DZ-Jay will check in this change?
I'm currently not up to date with the SMTP RFCs.
But I wonder why "Priority" and "X-MSMail-Priority" are no 
longer required?

-- 
Arno Garrels



--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to