Re: Mail
| From: | Lisi | Date: | Mon, 22 Apr 2002 18:54:05 +0000 |
| Subject: | Re: Mail | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-18736@lists.php.net to get a copy of this message | ||
just change the SMTP to your ISP's SMTP server, i.e. the server you use to send mail from your regular mail account.
At 06:45 PM 4/22/02 +0100, Alex Francis wrote:
Here is the section from my PHP.INI [mail function] ; For Win32 only. SMTP = localhost ; For Win32 only. sendmail_from = alex@localhost.com ; For Unix only. You may supply arguments as well (default: 'sendmail -t -i'). ;sendmail_path = I presume you mean the SMTP server set in my mail account. That is at my ISP. -- Alex Francis Cameron Design 35, Drumillan Hill Greenock PA16 0XD Tel 01475 798106 afrancis@camerondesign.co.uk http://www.camerondesign.co.uk This message is sent in confidence for the addressee only. It may contain legally privileged information. Unauthorised recipients are requested to preserve this confidentiality and to advise the sender immediately of any error in transmission. Dl Neil <PHPml@DandE.HomeChoice.co.uk> wrote in message news:049e01c1ea16$8a0cf690$0600a8c0@jrbrown... Alex,I'm still having problems with the mail function. I have installed PHP in a Windows 2000 test server. Is there somethingIshould do to allow this function to work. I am a complete newbie and installed with the default settings. I get a "Failed to connect Errorwhen Icall the mail() function. // retrieve values $row = mysql_fetch_array($ret); $email = $row["email"]; $title = $row["title"]; $comments = $row["comments"]; $title = $row["title"]; mail($email, $title, $comments);Mail is controlled by settings in the php.ini file. Please post the [mail function] section (changing any confidential names to protect the guilty). Setup for Windows differs from *NIX - hence confusion in many tutorials/books... this matter is frequently discussed - see archives. Regards, =dn -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php