Re: Weird date issue with emails

Vincent Danen <[email protected]> Thu, 9 Oct 2003 21:35:40 -0600
Newsgroups gmane.comp.bug-tracking.anthill.user
Message-ID <[email protected]>
--===============27190231895459505==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="dYzALO55p6KSwMP7"
Content-Disposition: inline


--dYzALO55p6KSwMP7
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu Oct 09, 2003 at 06:01:05PM -0700, Scott Brown wrote:

> I've been looking over the PHP site for some troubles with mail and=20
> Windows, haven't really found anything off-hand that will help this.
>=20
> E-mails sent from Anthill don't seem to respect Daylight vs. Standard tim=
e.=20
> E-mails that come from Anthill think that the local time is -0800 GMT, bu=
t=20
> we are currently at -0700 GMT, so the email comes into the in box appeari=
ng=20
> to have been sent one hour later (since it thinks the senders time zone i=
s=20
> -0800, but it is actually -0700, when in reality they are the exact same=
=20
> time, and I sort by local time).
>=20
> I noted at PHP.net, some users recommend setting the date in the header; =
I=20
> don't know if this would fix it or not.
>=20
> Anybody have any clues?

What happens if you write a quick script to run mail with a test message
(outside of anthill)?  Does the same date problem persist (ie. maybe it's a
problem with the MTA or perhaps apache)?

Anthill doesn't really do anything interesting with the date other than
formatting it.. I don't try to figure out timezones or anything like that...
so it's using whatever php is using which is the date/time of the host
machine IIRC.

I don't know if I want to start monkeying with that kind of thing, although
it does look like I may have to do some other messing with the mail() calls
to properly handle multi-lingual charsets.

--=20
MandrakeSoft Security; http://www.mandrakesecure.net/
Online Security Resource Book; http://linsec.ca/
"lynx -source http://linsec.ca/vdanen.asc | gpg --import"
{FE6F2AFD : 88D8 0D23 8D4B 3407 5BD7  66F9 2043 D0E5 FE6F 2AFD}


--dYzALO55p6KSwMP7
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)

iD8DBQE/hikMIEPQ5f5vKv0RAmfcAJ4oIkOZzMzUxz447ZcUTULvl154FQCfYYxx
OtO7sxKni8m+8a3viHcqkEM=
=F1QX
-----END PGP SIGNATURE-----

--dYzALO55p6KSwMP7--


--===============27190231895459505==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Anthill-users mailing list
Anthill-users-+mQDA36h6dWw5LPnMra/[email protected]
http://vmlinuz.ca/mailman/listinfo/anthill-users

--===============27190231895459505==--