1 blog101 Sep 19, 2004 09:04
3 blog101 Sep 20, 2004 06:41
Thanks for Kiesow.
I forgot to mention sth. that I installed b2evolution on my NB. The following note is the enviroment of the system.
Windows XP + IIS + PHP4 + Mysql
I'm not sure whether I need to change the the default config of _advanced.php to new.
about this
============================
$mailserver_url = 'mail.example.com';
$mailserver_login = 'login@example.com';
$mailserver_pass = 'password';
$mailserver_port = 110
============================
if I wanted to enable the mail() function, would I need to change the default config? if no, where config do I need to set?
Thank you again!
4 kiesow Sep 20, 2004 12:22
blog101 wrote:
I'm not sure whether I need to change the the default config of _advanced.php to new.
about this
============================
$mailserver_url = 'mail.example.com';
$mailserver_login = 'login@example.com';
$mailserver_pass = 'password';
$mailserver_port = 110
============================
if I wanted to enable the mail() function, would I need to change the default config? if no, where config do I need to set?
i told you, that mail() is a function of php. so if there are problems, it's a pure php problem, nothing in b2evo.
so there's NO need to change anything in b2evo - btw it's not possible to change anything in b2evo to make mail() work...
the extract of _advanced.php you copied deals with
// ** Configuration for htsrv/getmail.php **
// (skip this if you don't intend to blog via email)
got the point?
your problem is somewhere between IIS and php4.
mainly you have to open your php.ini and check the mail-configuration
most of you people wouldn't have any problems if you would use apache on win instead of IIS...
just my 2 cents...
5 graham Sep 20, 2004 14:22
I recommend Yellowtip Server. It auto installs apache and phpmyadmin, along with a really old version of b2evo... :roll:
6 blog101 Sep 20, 2004 14:36
Thanks Kiesow for taking a care to help me solve the problem. :D
I found out the following config in php.ini, and set mine, and then the problem is disappeared.
=========================
[mail function]
; For Win32 only.
SMTP = localhost
; For Win32 only.
sendmail_from = your@email.address
=========================
And follow your advice, I think Apache is wonderful for PHP + Mysql. just I have to run both PHP and ASP, so I have no choice but to take the solution of mine at present. :-/
the mail()-function is a function of php. it has nothing in common with the mailfunction of your mailprogram.
just write a mail to your host and ask him why the mail() in php is disabled.