Path: csiph.com!usenet.pasdenom.info!gegeweb.org!eternal-september.org!feeder.eternal-september.org!mx05.eternal-september.org!.POSTED!not-for-mail From: "Peter H. Coffin" Newsgroups: comp.lang.php Subject: Re: no date header in mail() Date: Tue, 21 May 2013 09:49:53 -0500 Organization: A noiseless patient Spider Lines: 25 Message-ID: References: <09fe0b52-f12e-48ad-b31c-6f3cbdbb2806@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: mx05.eternal-september.org; posting-host="4163d0103afdb3d32fe6c98974b1e330"; logging-data="8739"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/PnF2bvhFSiqs0Ac/JKINH" User-Agent: slrn/0.9.9p1 (OpenBSD) Cancel-Lock: sha1:U1nvgL07gdzH55qf4GqDkBHEhUA= Xref: csiph.com comp.lang.php:9502 On Tue, 21 May 2013 07:10:41 -0700 (PDT), knudhaugmark24@gmail.com wrote: > Very strange: After it has worked perfectly for years, now suddenly > the mail function does not pass a date in the mails, when forwarding > it looks like this > > ---- Original message -------- > Subject: New booking from quality-guides.dk > From: quality-guides.dk > To: Knud Haugmark > CC: knud@haugmark.dk > > My webmail returns "Invalid date". The date should be added > automatically, right? whats wrong Whether it's added or not depends on the MTA you're using and its configuration. If you're not controlling that, then something got changed and now it's not. My recommendation is to just add a Date: header line, in accepted format. -- Crowds want to beat, journalists deserve to be beaten. Where lies the problem? -- Lars Syrstad