twidlar Posted June 20, 2009 Share Posted June 20, 2009 I'm new here, a long term programmer but new to PHP. I've gotten about 20 PHP scripts running on my website by brute force using browser error messages. I've installed Eclipse PDT on WinXP and do all right debugging. Problem: The mail() function returns false. How to I tell Eclipse what my default SMTP server is? Is this the right place to post this question? I also have questions on how to connect to remote debugging and the MySQL server on my website. Thank you. Quote Link to comment Share on other sites More sharing options...
Daukan Posted June 20, 2009 Share Posted June 20, 2009 You should be able to set your mail settings in the php.ini file. Quote Link to comment Share on other sites More sharing options...
twidlar Posted June 22, 2009 Author Share Posted June 22, 2009 Makes sense. Here's php.ini for PHP5 on WinXP Eclipse PDT extension_dir = "./ext/" extension=php_curl.dll extension=php_dba.dll extension=php_ldap.dll extension=php_mbstring.dll extension=php_mcrypt.dll extension=php_msql.dll extension=php_mssql.dll extension=php_mysql.dll extension=php_mysqli.dll extension=php_openssl.dll extension=php_pdo.dll extension=php_pdo_mssql.dll extension=php_pdo_mysql.dll extension=php_pdo_sqlite.dll extension=php_soap.dll extension=php_sqlite.dll extension=php_tidy.dll extension=php_xmlrpc.dll extension=php_xsl.dll extension=php_zip.dll zend_extension_ts=.\ZendDebugger.dll I found this. -------- A typical configuration might look like: [mail function] SMTP = smtp.isp.net sendmail_from = me@isp.net --------- So I could do ini_set("SMTP","smtp.sbcglobal.yahoo.com"); // whatever ini_set("smtp_port","25"); ini_set("sendmail_from","a@b.c"); But I read "Authentication (sending mail password to smtp server) is not possible under PHP for windows". This includes Eclipse PDT? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.