What does he do and how to use it?

PS Not found in Google examples of its use, and in general, some description.

  • Setting the date of sending =) - AseN pm
  • Please show me an example of use. For some reason, I can't use it. - nick777
  • First of all, show me where you saw this so that I could get my bearings. - AseN

3 answers 3

Mail Format (RFC-822)

The Date field defines the date the message was sent, the From field defines the sender, and the ss and To fields the recipient (s). More often the title contains additional fields:

Date: 26 Aug 76 1429 EDT From: George Jones<Jones@Registry.org> Sender: Secy@SHOST To: Smith@Registry.org Message-ID: <4231.629.XYzi-What@Registry.org> 
  • +1 beat me a little bit - FreeMast
  • I tried, it works. But I thought that this parameter works like crones, otherwise why is it? .. - nick777

As far as I know, the date is substituted itself, at the time of sending the letter, this is not cron.

    Here is the description of this mail function. What parameter are you talking about?

    • "Second, the custom headers like From :, Cc :, Bcc: and Date: are not interpreted by ..." - nick777
    • "Secondly, additional headers like: From :, Cc :, Bcc: and Date: are interpreted ..." Description of the function mail . - nick777