View Full Version : E-mail date manipulation
04-03-2003, 07:06 PM
Hi. I was wondering if there is in any way we can sort of manipulate the date of an outgoing e-mail. For instance, if I send an e-mail to someone from my web-based form on Saturday, is it possible for showing up there on his inbox as if I sent it on Friday? If it is possible, I think it would be done in PHP, that's why I posted here. :D
04-03-2003, 07:47 PM
....thing is , the receipt time at the destination mail server however is always going to be saturday, and anyone who has half a clue can find this out easily enough, ok a mail can bounce around a little but its rare for an hour to pass let alone a day before delivery, so don't mess unless you are prepared to be caught out ;)
04-04-2003, 04:08 AM
I'm prepared. Here is the simple PHP e-mail code. What do I do now?
$to = "email@example.com";
$extra = "From: $email\r\nReply-To: $email\r\n";
$mess = "This is from: ".$name."(".$REMOTE_ADDR.")\n\n".$message;
mail ($to, $subject, $mess, $extra);
echo("Email has been sent.\n");
04-04-2003, 05:32 AM
Why do you need to change the date?
04-04-2003, 06:22 AM
Just some minor reasons. But is it possible?
04-04-2003, 06:42 AM
Well honestly I cannot see a legitimate reason for wanting to do this. Sounds suspiciously illegal to me. Firepages was hinting at that earlier. I will ask again, why exactly do you need to do this?
04-04-2003, 07:47 AM
Illegal? No. It's just a simple homework assignment.
I don't mean anything illegal.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.