It is currently Fri Mar 29, 2024 2:00 pm


All times are UTC


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Problems with PHP: mail()
PostPosted: Mon Oct 06, 2008 7:04 am 
Newbie
Newbie

Joined: Mon Oct 06, 2008 6:56 am
Posts: 2
I am having problems with this very simple script:
Code:
$msg = $_REQUEST['msg'];
if(mail('[my email]','Message from your page',$msg)){
   echo "Thank you! Your message has been sent!";
}
else{
   echo "There was an error sending your email!";
}


The e-mails are not appearing in my inbox. Does anyone know what is wrong? I just moved my files from my school server running apache, and it worked there. I have also tried changing the email adress, but it doesn't seem to help. Perhaps this function has been disabled in Freehostia? If that is the case, is there a workaround?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 06, 2008 5:03 pm 
Newbie
Newbie

Joined: Mon Oct 06, 2008 6:56 am
Posts: 2
It's a free account.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 06, 2008 7:51 pm 
Moderator
Moderator

Joined: Tue Feb 27, 2007 12:18 am
Posts: 521
All mail is disabled on free accounts.

_________________
http://www.mjmclocks.co.uk


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 30, 2009 10:16 pm 
Newbie
Newbie

Joined: Fri Jan 30, 2009 9:48 pm
Posts: 1
Then how do we register members on phpbb forums?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 31, 2009 4:17 am 
Site Admin

Joined: Sat May 31, 2008 1:56 am
Posts: 497
Our paid hosting plans do not have this restriction. You can upgrade your web hosting plan from the "Change plan" section on your control panel, you will find the link on the left "Upgrades" menu.

_________________
Best Regards,
Miles
ModeratorsTeam
Freehostia.com


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 31, 2009 7:20 am 
Moderator
Moderator

Joined: Tue Feb 27, 2007 12:18 am
Posts: 521
You will need to turn off email validation, it should be in the settings of your phpBB board somewhere.

_________________
http://www.mjmclocks.co.uk


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 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