![]() |
|
|
Thread Tools |
|
#1
|
||||
|
||||
|
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:
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. No members have liked this post.
Last edited by Lea Verou : 28 Jun 2006 at 23:46. |
||||
|
#2
|
||||
|
||||
|
is it giving an error at all?
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.
No members have liked this post.
|
||||
|
#3
|
||||
|
||||
|
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. ![]() No members have liked this post.
|
|
#4
|
||||
|
||||
|
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.
No members have liked this post.
|
![]() |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
| Thread Tools | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 07:27.





