|
Re: no date header in mail() [message #181553 is a reply to message #181552] |
Tue, 21 May 2013 14:52 |
The Natural Philosoph
Messages: 993 Registered: September 2010
Karma: 0
|
Senior Member |
|
|
On 21/05/13 15:10, knudhaugmark24(at)gmail(dot)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<knud(at)haugmark(dot)dk>
> To: Knud Haugmark<knud(at)haugmark(dot)dk>
> CC: knud(at)haugmark(dot)dk
>
> My webmail returns "Invalid date". The date should be added automatically, right?
> whats wrong
>
> Knud
The date should be handled by the underlying MTA. Outside of PHP altogether.
But usually you can insert a header to override that if it ain't working.
i.e. the mail function has a 'headers' section., so you can add the
correct date to that.
I'd guess you are on 'someone elses' server and they have monkeyed with
the mail subsystem.
--
Ineptocracy
(in-ep-toc’-ra-cy) – a system of government where the least capable to lead are elected by the least capable of producing, and where the members of society least likely to sustain themselves or succeed, are rewarded with goods and services paid for by the confiscated wealth of a diminishing number of producers.
|
|
|
Re: no date header in mail() [message #181554 is a reply to message #181552] |
Tue, 21 May 2013 14:49 |
Peter H. Coffin
Messages: 245 Registered: September 2010
Karma: 0
|
Senior Member |
|
|
On Tue, 21 May 2013 07:10:41 -0700 (PDT), knudhaugmark24(at)gmail(dot)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<knud(at)haugmark(dot)dk>
> To: Knud Haugmark<knud(at)haugmark(dot)dk>
> CC: knud(at)haugmark(dot)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
|
|
|
|
|