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. Link to comment https://forums.phpfreaks.com/topic/162975-how-to-specify-smtp-server-for-mail-on-eclipse-pdt/ 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. Link to comment https://forums.phpfreaks.com/topic/162975-how-to-specify-smtp-server-for-mail-on-eclipse-pdt/#findComment-859947 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 = [email protected] --------- So I could do ini_set("SMTP","smtp.sbcglobal.yahoo.com"); // whatever ini_set("smtp_port","25"); ini_set("sendmail_from","[email protected]"); But I read "Authentication (sending mail password to smtp server) is not possible under PHP for windows". This includes Eclipse PDT? Link to comment https://forums.phpfreaks.com/topic/162975-how-to-specify-smtp-server-for-mail-on-eclipse-pdt/#findComment-861431 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.