Loading...
 
Development

Development


date in notification mail messages

posts: 46 Portugal

Hi there,

I've the feature to receive mail notifications activated in my tiki page, but I'm getting the mails with a strange data: Jan 1, 1970. The server is with the correct date and time but anyway, this is happening. Any hint on how to solve this?

Just for information: I'm using version tiki-wiki 1.7.4

cheers

Luis Pedro

posts: 17

I can't help I'm afraid, but I noticed that the newsreader does the same with usenet posts - they're all dated Jan 1 1970. I've not had a chance to check my error logs yet - will do so over the weekend.

regards,
ewan


posts: 46 Portugal

I think that should have something to do with \r in one or more headers for the e-mail. I don't no for sure were they come from, but I've tried a my one small script to send e-mails, and indeed, if I put an \r before the \n in any of the headers, all the e-mails will get this strange date.

Probably the problem is one of this /lib/pear/SOAP/Server/ files, but I don't no exactly if this is the right place to hack in

Anyone with an idea?

cheers

Luis Pedro