Jump to content


Photo

From address wont come up when sending an email


  • Please log in to reply
1 reply to this topic

#1 jwk811

jwk811
  • Members
  • PipPipPip
  • Advanced Member
  • 714 posts

Posted 29 September 2006 - 07:59 PM

using this script

<?php
$to = "(to email)";
$subject = "My subject";
$txt = "Hello world!";
$headers = "From: (from emai)" . "\r\n" .
mail($to,$subject,$txt,$headers);
?>

in the email the from address is my server.. it was actually working before but now its not, whats wrong?

#2 jwk811

jwk811
  • Members
  • PipPipPip
  • Advanced Member
  • 714 posts

Posted 29 September 2006 - 08:47 PM

nevermind i got it.. thats insane though.. like this anyone can send emails to anyone and having it appear as coming from anyone you'd like... that seems messed up




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users