01-01-2006, 05:46 PM
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,
EDIT: FIXED BY TESTING ONLINE
01-01-2006, 06:11 PM
dont you need to be connected to the internet to send mail?
01-01-2006, 06: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.
01-01-2006, 06:24 PM
Yeah I have that same problem, and i have no idea why...
Sorry I can't help you.
01-01-2006, 06: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.
01-01-2006, 06:57 PM
Fixed By Testing Online
So was that the whole problem - that you needed to test your script on your website?
01-02-2006, 10: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,