It is currently Sat Jul 20, 2019 10:27 am


All times are UTC


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: can't receive email with mail ( )
PostPosted: Sun Dec 02, 2007 4:03 pm 
Newbie
Newbie

Joined: Sat Dec 01, 2007 3:54 am
Posts: 1
hi, I'm using a value package account, so receiving or sending email is supposed to work. I have a web site where people can add comment or ask question. Once they fill out the form and submit it, I will receive their message in my email (this is what i want). Below is my code:


$SendTo = "myemail@domaine.com"; //my email address

$SubjectLine = "Feedback Received"; //subject of the email

$email = $_POST['email']; //user's email address

$message = $_POST['message']; //user's comment or question

mail($SendTo, $SubjectLine, $message, 'From: $email');


However, I don't know if something is wrong with my code, or it's a technical problem of the server side, i cannot receive any message sent. I tested it with different email address from different provider, and i still cannot receive any of them. Please if someone could help me out what is wrong. Thanks in advance


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 02, 2007 4:07 pm 
Support Tech
Support Tech

Joined: Fri Mar 24, 2006 7:21 pm
Posts: 842
Is your domain name properly resolving with our DNSs? If not please contact your domain name registrar with a request for DNSs change. Then after 24 hours the emails problem that you experience will disappear.

_________________
Best Regards,
Burton
ModeratorsTeam
Freehostia.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ]  Moderators: Moderators, Support Team

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Hosting | Domains | Servers | Extras | Order | Support | Contacts | FreeHostia © 2011