Jump to content

email script doesn't send me an email


nerdyrat

Recommended Posts

with that wealth of information im guessing you just get a blank screen, an error, mail sent?? who knows...

 

see what happens when you actually check the mail function for success...

 

<?php
$to = "[email protected]";
$subject = "Test mail";
$message = "Hello! This is a simple email message.";
$from = "[email protected]";
$headers = "Nerdyrat";
if(mail($to,$subject,$message,$headers))
echo "Mail Sent.";
else
echo "Mail not sent.";
?> 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.