This topic is locked

email on register

7/31/2008 11:25:17
PHPRunner General questions
S
Scot author

Hi Jane, on the security page I have asked phprunner to send an e-mail to the client on completion of registering, and this is my error. What must I do to allow the e-mail to be sent?

Bill
PHP error happened
Technical information

Error type 2

Error description mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()

URL localhost/register.php?

Error file c:\easyphp1-8\www\register.php

Error line 300

SQL query insert into `trade` (`User name`, `Password`, `Email`, `name`, `Company`, `Street1`, `Street2`, `ZIP/POSTCODE`, `Country`) values ('James Smart', '77sloo', 'js3090@yahoo.com', '1 Albany', 'Haye', 'atoll street', 'Joran', 'an1 1an', 'uk')

S
spintz 7/31/2008

You need to configure PHP with your mail host.
http://us.php.net/manual/en/mail.configuration.php

S
Scot author 8/1/2008

You need to configure PHP with your mail host.

http://us.php.net/manual/en/mail.configuration.php


I'm not sure yet when I have a php item or a phprunner item so thanks for that, I lknow where to look now.

Scot