Code:
Error :
What's wrong?Quote:
Failed to Connect
Printable View
Code:
Error :
What's wrong?Quote:
Failed to Connect
php.ini settings are right.?
<?php
mail("[email protected]","$subject","$DEMAIL","From: $mailfrom\nReply-To: $wonmail\nSender: $email");
?>
and PHP.INI:
[mail function]
SMTP = localhost
sendmail_from = [email protected]
;sendmail_path =
I never put something in the php.ini concerning the email...
I'll try it.
doesnt work :(
are you running on local host? then good luck getting it to send. hence the word localhost
What i put to replace localhost?
your IP of your machine or the one that your ISP gives you to connect to the internet. then you have to configure the SMTP or the sendmail to send email. all that is in the php.ini. but don' ask me as I can't even get mine to send email let alone here anybody that has got it to work, if they set it up as localhost.