FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » no date header in mail()
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: no date header in mail() [message #181553 is a reply to message #181552] Tue, 21 May 2013 14:52 Go to previous messageGo to previous message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma:
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.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem with quotes in javascript output
Next Topic: insert PDF table in database
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 14:24:24 GMT 2024

Total time taken to generate the page: 0.04123 seconds