do you have an smtp server running on localhost?
to test mail scripts locally i usually just dump the email text on the
screen without sending a mail. doing this i can check that the email is
formatted etc. correctly. i then edit the script, upload and make sure
that the email is sent.
if the email is sent local from your local machine it's no guarantee
that it'll work on the live server anyway.
joe
Leandro_Brazil wrote:
Quote:
Hi,
I did a contact form with php, but my pc ins?t sending an email.
In my php.ini I put the smtp and the sendmail_from
So my contact form is functicion only on internet
but I need to do some testion in (localhost) before to put in in the server
Why its happen? |