Hi all,

I seem to be having a problem getting the mail() function to run
under php and winxp on my machine..

My php.ini contains the following

[mail function]
; For Win32 only.
SMTP = mailhost.surfanytime.couk ; for Win32 only

; For Win32 only.
sendmail_from = [EMAIL PROTECTED] ; for Win32 only

; For Unix only.  You may supply arguments as well (default:
'sendmail -t -i').
;sendmail_path =




My test php script just consists of

<?

mail ("[EMAIL PROTECTED]", "Test Mail","Hello and Welcome");
?>


When run I get the following error

Warning: Failed to Connect in f:\inetpub\wwwroot\books\testmail.php
on line 12


Any thought anyone?


regards

Melanie





____ � The WDVL Discussion List from WDVL.COM � ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED]
       Send Your Posts To: [EMAIL PROTECTED]
To change subscription settings to the wdvltalk digest version:
    http://wdvl.internet.com/WDVL/Forum/#sub

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to