Anyone knows how to use WebMail to send email in PHP script? -
10-16-2008, 03:15 AM
Hi all,
I was trying to use:
Quote:
mail($email, $subject, $message);
to send a email, but the server responds this:
Quote:
Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()
I know 000webhost added WebMail, this very userful feature these days.
But could anyone tell me how to use the WebMail I created to send emails in PHP please?
Thanks!
Last edited by konglong_1984 : 10-16-2008 at 03:17 AM.