0

My Professor assigned me to send him an email from Facebook that says his profile is been shut down. He will then reply to me with something, how can I see his reply?

I basically need to forward his message to me. Is that possible? Thanks in advance.

$to = "to emial pou thesn a to steileis vazeis edw"; 
$subject = "kanonika subject sto email";
$message = "mnm"
$from = "email pou thes na fainetai oti stalthike"; 
$headers = "From:" . $from;
$mail = mail($to,$subject,$message,$headers,$from);  
if($mail)  { echo "Email sent to ".$to; } ?>

Ignore whatever is inside "", it's just something to make it better for me.

Thanks in advance!

Michael Dodd
  • 10,102
  • 12
  • 51
  • 64
  • Are you just looking for the "from" and "reply-to" headers? Not sure what you mean by "forward his message to me". – David Dec 19 '17 at 17:14
  • Your question is very unclear, but you might be asking for `Reply-To:`. – SLaks Dec 19 '17 at 17:14
  • Spoof the "from" in your reply headers. – Jason Maggard Dec 19 '17 at 17:14
  • Sorry for that, i am pretty new to coding altogether. Yeah basically looking for the reply to. Like when someone goes on to reply to the email he just received, the message he replied will be forwarded to another email so i can actually see what he typed. – kosti kostis Dec 19 '17 at 17:16

0 Answers0