--- Received from FPU.WHITES1 799 3703 31-10-01 10:35
-> [EMAIL PROTECTED] PHP talks to a SMTP server on whichever box you have your php.ini pointing to. If you have set it to localhost, then you must have an SMTP server on your local box. Try typing: telnet localhost 25 If it comes up saying something like: 220 MyComputer SMTP Server Ready ...then you're okay. If telnet fails to make a connection to that port then you've no SMTP server and php's mail function won't work. If this is the case either point php.ini smtp host to a machine that does have an SMTP server, or set one up on your local box. -Steve ---------------------------------------------------------------------------- From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Tue, 30 Oct 2001 18:51:34 -0700 Subject: [PHP-WIN] PHP 4.0.6, Apache 1.3x and SL Mail Hey there, I'm running apache w/ php 4.0.6 on our win nt 4 server. I can't seem to get the mail function to work. It doesn't complain -- nothing complains. The email are not going through.... It's supposed to be a contact form that emails the info to me. I don't get the emails. It's also supposed to record the data to a text file before it mails it (the file remains empty). I've checked my php.ini file and have tried localhost and the direct IP of the server in the SMTP setting, and it still doesn't work. We're running SL Mail, and I created an account for PHP. Does PHP use the mail server (SL Mail in this case), or does it send it via SMTP on its own? I'd also like my script to take the visitor's email address they specify and put that in the email's 'from' address so I (and the other employees) can simply hit the email client's reply button. I'm not sure where the problem is, and I'm not highly experienced with php, apache, or windows nt. We are hoping to upgrade nt to 2000, but that may be a long time. This php issue is what is holding up my new site layout. Any help would be greatly appreciated. I'm not sure what to do, and don't have many options left. Thanks Please send responses to [EMAIL PROTECTED] (or Cc?). Thanks! -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] This e-mail may contain confidential information and/or copyright material. This e-mail is intended for the use of the addressee only. Any unauthorised use may be unlawful. If you receive this e-mail by mistake please advise the sender immediately by using the reply facility in your e-mail software. Friends Provident Marketing Group consists of the following companies: Friends Provident Life and Pensions Limited. Registered number 4096141. Friends' Provident Unit Trust Managers Limited. Registered number 970641 FP Life Assurance Limited. Registered number 782698 Friends Provident Pensions Limited. Registered number 475201 Friends Ivory & Sime Managed Pensions Funds Limited. Registered number 1020044 Registered and Head Office of each of the above companies is at Pixham End, Dorking, Surrey RH4 1QA. Registered in England. Incorporated companies limited by shares. Ivory & Sime Trustlink Limited. Registered number 151198 Registered and Head Office: One Charlotte Square, Edinburgh EH2 4DZ. Registered in Scotland. Incorporated company limited by shares. Companies within this Group transact life assurance, pension, permanent health, unit trust and investment trust business All are regulated by the Personal Investment Authority. Friends' Provident Unit Trust Managers Limited is also regulated by IMRO. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]