jwk811 Posted September 29, 2006 Share Posted September 29, 2006 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? Link to comment https://forums.phpfreaks.com/topic/22536-from-address-wont-come-up-when-sending-an-email/ Share on other sites More sharing options...
jwk811 Posted September 29, 2006 Author Share Posted September 29, 2006 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 Link to comment https://forums.phpfreaks.com/topic/22536-from-address-wont-come-up-when-sending-an-email/#findComment-101119 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.