...

View Full Version : Simple Email Form



mw2005
01-01-2006, 04:46 PM
Hi all;
I have a simple email form which should send a message to me and somebody else through the use of Cc: I have tested it offline and i cannot seem to make it work, please could somebody help me to fix this problem,

Thanks in Advance,
Any help is appreciated,

MW2005


EDIT: FIXED BY TESTING ONLINE

Ramesiv
01-01-2006, 05:11 PM
dont you need to be connected to the internet to send mail?

mw2005
01-01-2006, 05:13 PM
Sorry if i am being unclear, i am connected to the internet but the page is on my hard drive and not on a web server.

Gnatfish
01-01-2006, 05:24 PM
Yeah I have that same problem, and i have no idea why...

Sorry I can't help you.

vinyl-junkie
01-01-2006, 05:28 PM
If you are going to run this script on your local PC, you need to have a mail server setup on it. Do you have that?

You might want to read what the manual says about the mail() (http://www.php.net/function.mail) function, if you haven't done so, as there are a number of things that can go wrong with your script which you may not have thought about.

mw2005
01-01-2006, 05:51 PM
Fixed By Testing Online

vinyl-junkie
01-01-2006, 05:57 PM
Fixed By Testing Online
So was that the whole problem - that you needed to test your script on your website?

mw2005
01-02-2006, 09:40 AM
No sorry, i missed out a ; at the end of one of the lines and the php was not correctly configured so i tested it online,

MW2005



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum