I have installed wamp on my computer, and trying to make an experiment and send an email..but after build the form I have this kind of problem when I try to submit it .... Any suggestions? p.s I have set the "ini_set()" before the mail() function
Do you have your PC set up as a mail server? Also, I highly recommend against WAMP in a production environment which is the only reason I could see you using mail functions.
what does that mean?How do I set my pc work as a mail server(I think wamp does that)..Oh I am not using it for publishing just making experiments.
To use your PC as a SMTP mail server, download an install the 'Fee SMTP server' software from SoftStack. I just installed it on my local machine and it works like charm. There are no much settings or configurations installed. Just start the server and run your mailing script. Thats it. I also observed that even though the mail is sent by the server, your script may tell you that it failed to send the mail. I don't know if this is a bug or I a doing things wrong way, but the emails are sent successfully.
In Windows you can install the SMTP server that comes with it. That's also much easier. You may also want to consider Mailenable standard which works great and is free.