Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 28 Jun 2006, 15:31
Lea Verou's Avatar
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Real name: Lea Verou
Stupid mistake with mail()

This has nothing to do with vbulletin but another site.

I have a mail form that the user completes and sends. Then supposedly I should receive an email with the content of that form. I have used this code which takes the form data, forms and sends the mail and then redirects the user with a meta tag, after 5 seconds. This is the php code and after it is just the html code of the page, which I see no reason to quote:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I have probably made a very stupid mistake which I can't figure out cause I receive absolutely NO such email...
Any ideas?

PS: The site is hotel.mycat.gr (the domain is temporary till I finish the site). It's for my mother's small hotel. I would also appereciate your opinion on the design, but I care more about solving the problem now, so I did not put the thread in site commenting.

Any help is greatly appereciated.

Last edited by Lea Verou : 28 Jun 2006 at 23:46.
Reply With Quote
  #2  
Old 29 Jun 2006, 21:14
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Real name: sabe
is it giving an error at all?


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

however if you're not getting any error message at all, it's probable that you just haven't configured SMTP on your server.
__________________
UNDER CONSTRUCTION: Confessionary Hack

Make me a Hack of The Month author: GRPS: Groups Commune
make my hacks, they'll make you famous

unless it's a security concern, please do not pm/im me for support unless you're willing to pay.
Reply With Quote
  #3  
Old 29 Jun 2006, 22:53
Lea Verou's Avatar
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Real name: Lea Verou
No error at all.
I'm sure the SMTP server is configured cause another site of mine on the same server sends the mail fine.
Reply With Quote
  #4  
Old 29 Jun 2006, 23:54
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Real name: sabe
have you tried substituting the $messagebody with something else for testing purposes?
__________________
UNDER CONSTRUCTION: Confessionary Hack

Make me a Hack of The Month author: GRPS: Groups Commune
make my hacks, they'll make you famous

unless it's a security concern, please do not pm/im me for support unless you're willing to pay.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 07:27.

Layout Options | Width: Wide Color: