FreeHostia Forums
http://forum.freehostia.com/

email not working
http://forum.freehostia.com/viewtopic.php?f=5&t=8359
Page 1 of 1

Author:  qwe12 [ Mon Sep 24, 2007 3:54 am ]
Post subject:  email not working

I'm paid hosting and recently had install php script and everything run smoothly but got email problem

when visitor register my site he/she should received confirmation email
but that never happend and I try testing the "contact us" but never recieved any email

please help me

Author:  qwe12 [ Mon Sep 24, 2007 12:25 pm ]
Post subject: 

mail.php was not delivered to my mailbox?

mail.php:

<?php

$from = "From: <admin@mywebsite.com>";
$to = "admin@mywebsite.com";
$subject = "Hi! ";
$body = "TEST";

if(mail($to,$subject,$body,$from)) echo "MAIL - OK";
else echo "MAIL FAILED";
?>

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/