Jump to content

How to specify SMTP server for mail() on Eclipse PDT


twidlar

Recommended Posts

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.

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?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.