Cory94bailly Posted March 28, 2009 Share Posted March 28, 2009 $headers .= 'From: MASSattack <[email protected]>'; ini_set(sendmail_from,"[email protected]"); mail($email, "Welcome to ".$title."", $mail, $header); ini_restore(sendmail_from); Yet I always get this..: Link to comment https://forums.phpfreaks.com/topic/151524-solved-problem-with-sendmail/ Share on other sites More sharing options...
Cory94bailly Posted March 28, 2009 Author Share Posted March 28, 2009 Never mind.. I am stupid..! it should be $headers in the mail function.. it works fine then. Link to comment https://forums.phpfreaks.com/topic/151524-solved-problem-with-sendmail/#findComment-795836 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.