Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: no date header in mail()

5 views
Skip to first unread message
Message has been deleted

The Natural Philosopher

unread,
May 21, 2013, 10:52:01 AM5/21/13
to
On 21/05/13 15:10, knudhau...@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<kn...@haugmark.dk>
> To: Knud Haugmark<kn...@haugmark.dk>
> CC: kn...@haugmark.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.

Peter H. Coffin

unread,
May 21, 2013, 10:49:53 AM5/21/13
to
On Tue, 21 May 2013 07:10:41 -0700 (PDT), knudhau...@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<kn...@haugmark.dk>
> To: Knud Haugmark<kn...@haugmark.dk>
> CC: kn...@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

knudhau...@gmail.com

unread,
May 21, 2013, 12:57:06 PM5/21/13
to
Thanx boys, I will check with provider, one.com, and see waht they can do

J.O. Aho

unread,
May 21, 2013, 3:42:10 PM5/21/13
to
On 21/05/13 18:57, knudhau...@gmail.com wrote:
> Thanx boys, I will check with provider, one.com, and see waht they can do
>

I feel sorry for you, I really hope you will find a more honest
provider, I know many how have been cheated economically by them.


--

//Aho
0 new messages