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.

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.