Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #9500 > unrolled thread

no date header in mail()

Started byknudhaugmark24@gmail.com
First post2013-05-21 07:10 -0700
Last post2013-05-21 21:42 +0200
Articles 5 — 4 participants

Back to article view | Back to comp.lang.php


Contents

  no date header in mail() knudhaugmark24@gmail.com - 2013-05-21 07:10 -0700
    Re: no date header in mail() The Natural Philosopher <tnp@invalid.invalid> - 2013-05-21 15:52 +0100
    Re: no date header in mail() "Peter H. Coffin" <hellsop@ninehells.com> - 2013-05-21 09:49 -0500
    Re: no date header in mail() knudhaugmark24@gmail.com - 2013-05-21 09:57 -0700
      Re: no date header in mail() "J.O. Aho" <user@example.net> - 2013-05-21 21:42 +0200

#9500 — no date header in mail()

Fromknudhaugmark24@gmail.com
Date2013-05-21 07:10 -0700
Subjectno date header in mail()
Message-ID<09fe0b52-f12e-48ad-b31c-6f3cbdbb2806@googlegroups.com>
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@haugmark.dk>
To: 	Knud Haugmark<knud@haugmark.dk>
CC: 	knud@haugmark.dk

My webmail returns "Invalid date". The date should be added automatically, right?
whats wrong

Knud

[toc] | [next] | [standalone]


#9501

FromThe Natural Philosopher <tnp@invalid.invalid>
Date2013-05-21 15:52 +0100
Message-ID<kng1mf$lck$1@news.albasani.net>
In reply to#9500
On 21/05/13 15:10, 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<knud@haugmark.dk>
> To: 	Knud Haugmark<knud@haugmark.dk>
> CC: 	knud@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.

[toc] | [prev] | [next] | [standalone]


#9502

From"Peter H. Coffin" <hellsop@ninehells.com>
Date2013-05-21 09:49 -0500
Message-ID<slrnkpn2ch.msg.hellsop@nibelheim.ninehells.com>
In reply to#9500
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<knud@haugmark.dk>
> To: 	Knud Haugmark<knud@haugmark.dk>
> 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

[toc] | [prev] | [next] | [standalone]


#9504

Fromknudhaugmark24@gmail.com
Date2013-05-21 09:57 -0700
Message-ID<59e487e6-8907-4757-ab1b-8eaee59b2d34@googlegroups.com>
In reply to#9500
Thanx boys, I will check with provider, one.com, and see waht they can do

[toc] | [prev] | [next] | [standalone]


#9507

From"J.O. Aho" <user@example.net>
Date2013-05-21 21:42 +0200
Message-ID<b0210iF1db0U1@mid.individual.net>
In reply to#9504
On 21/05/13 18:57, knudhaugmark24@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

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.php


csiph-web