...

View Full Version : E-mail date manipulation



megahertzman
04-03-2003, 06: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

firepages
04-03-2003, 06: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 ;)

megahertzman
04-04-2003, 03:08 AM
I'm prepared. Here is the simple PHP e-mail code. What do I do now?

<?php
$to = "myemail@domain.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");
?>

Spookster
04-04-2003, 04:32 AM
Why do you need to change the date?

megahertzman
04-04-2003, 05:22 AM
Just some minor reasons. But is it possible?

Spookster
04-04-2003, 05: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?

megahertzman
04-04-2003, 06:47 AM
Illegal? No. It's just a simple homework assignment.

I don't mean anything illegal.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum