Page 1 of 1

Survey not working

Posted: Sat Oct 18, 2008 1:03 pm
by malkaabi
Dear All

I need help please :!: :!:

In this survey I have to received mail in my inbox "Hotamil", I followed the instructions and changed some value as written but i don't know why I can't received mails ... may be I have to change an other value ... :?:

lets me know please if you got the answer

waiting your reply

:roll:

Re: Survey not working

Posted: Sat Oct 18, 2008 1:21 pm
by jaoudestudios
What server are you hosting it on?

Btw, who ever wrote that code should not be allowed to use a computer! The code is shockingly TERRIBLE!

If it appears to work in the browser but you are just not getting the email, then check you have a mail server installed on your server.

Re: Survey not working

Posted: Sat Oct 18, 2008 1:29 pm
by malkaabi
I use my own PC, I run XAMPP ..

also what u mean shockingly TERRIBLE .. 8O

:?:

I got it from http://www.hotscripts.com

Re: Survey not working

Posted: Sat Oct 18, 2008 2:03 pm
by jaoudestudios
What OS are you running? Do you have a mailserver installed?

All the code is shockingly terrible, html and php! So badly written. The html will definitely not valid under any standards and the php is inefficient. Both languages are forgiving so it might still work.

Definitely think your issue is with your mailserver not the code.

Re: Survey not working

Posted: Sat Oct 18, 2008 2:22 pm
by califdon
To expand on jaoudestudio's comments, in order to send outgoing email, you must have access to an SMTP server, either on the same computer the web server is on, or a remote server which you are authorized to access. If you have installed an SMTP server on your local PC, that's all you need, but if not, you will have to have write your code to access some remote server, presumably the one that you normally use for your personal email, like at your ISP.

Re: Survey not working

Posted: Sat Oct 18, 2008 2:27 pm
by malkaabi
I tried in both on my work which is have outlook2007 ..

and in home on hotmail account but both not working

The idea is I want make form or survey like that then receive the result in my mail ...

:drunk:

Re: Survey not working

Posted: Sat Oct 18, 2008 2:46 pm
by califdon
malkaabi wrote:I tried in both on my work which is have outlook2007 ..

and in home on hotmail account but both not working

The idea is I want make form or survey like that then receive the result in my mail ...

:drunk:
You have misunderstood. It is the OUTGOING mail server that you must reach. Outlook2007 is not an SMTP server and HotMail will certainly not allow you to directly access their SMTP server. You need to either install an SMTP server on your computer or use a remote SMTP server that allows you to send email using their server. You may want to look into this free SMTP server for Windows: http://www.softstack.com/freesmtp.html. I know nothing about it, so I am NOT recommending it to you, just making you aware that such software IS available.

Re: Survey not working

Posted: Sat Oct 18, 2008 4:03 pm
by jaoudestudios
Years ago when I tried to setup a mailserver on windows with my WAMP setup I did not succeed and I wasted so much time on it! I recommend using Linux which will come with LAMP and a mailserver already installed, which will all work straight out of the box!

Re: Survey not working

Posted: Sat Oct 18, 2008 5:41 pm
by califdon
jaoudestudios wrote:Years ago when I tried to setup a mailserver on windows with my WAMP setup I did not succeed and I wasted so much time on it! I recommend using Linux which will come with LAMP and a mailserver already installed, which will all work straight out of the box!
True, Linux makes lots of things easier, especially in the server world. Whether server software is installed depends on which Linux distribution you download. I never tried a Windows SMTP server, myself.