Hello Guillaume, > they're just control headers to trace > I think, if it is to show the email date, you have a 'Date' header.
You right, I dont need them. Only the 'Date:' header to let display the datetime in mail reader. I want to make the headers as minimal as possible. Do I need the MIME-Version, Content-Type and Content-Transfer-Encoding also or can it be left out ? There will be only plain text and never an attach. MailBody := 'Delivered-To: ' + EMail + #13#10 + 'Subject: ' + Subject + #13#10 + 'Date: ' + DT + #13#10 + 'MIME-Version: 1.0'#13#10 + 'Content-Type: text/plain; charset="us-ascii"'#13#10 + 'Content-Transfer-Encoding: quoted-printable'#13#10 + 'From: ' + From + #13#10 + 'To: ' + DestName + #13#10#13#10 + Data; --- Rgds, Wilfried http://www.mestdagh.biz Monday, May 9, 2005, 09:45, Guillaume MAISON wrote: >> Received: (qmail 31614 invoked from network); 6 May 2005 08:41:49 -0000 >> Date: Fri, 6 May 2005 10:41:42 +0200 >> >> it is always in english (I mean the day and month). I need to make email >> headers but using the "normal" DateTimeToStr functions, depending on the >> country settings of the machine the day-name and month-name could be in >> other languages. >> >> Is this a problem for email readers ? If it is can I get the english >> names out of a windows call or should I make an array for it ? > These headers are not supposed to be seen by the receiver. > they're just control headers to trace all the SMTP servers it has been > through. > So the date and time format of these headers should not be modified nor seen, > except as they are. > I think, if it is to show the email date, you have a 'Date' header. > HTH, > Guillaume MAISON > ----- > Guillaume MAISON - [EMAIL PROTECTED] > 83, Cours Victor Hugo > 47000 AGEN > Tél : 05 53 87 91 48 - Fax : 05 53 68 73 50 > e-mail : [EMAIL PROTECTED] - Web : http://nauteus.com > -- > To unsubscribe or change your settings for TWSocket mailing list > please goto http://www.elists.org/mailman/listinfo/twsocket > Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be