Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: paulmancan2 on August 06, 2004, 04:28:01 PM

Title: Can't send e-mail throuh external/ISP + PHP
Post by: paulmancan2 on August 06, 2004, 04:28:01 PM
Greetings!

Currently my SME 5.6 box is not configured for any e-mail services.

I created a custom-template fragment for php.ini to specify my ISP's SMTP server and account name.

However, nothing happens when I try to use PHP's mail function. No error, just no e-mail is sent.

Do I need to change something else in the e-smith configuration?

Anyway how is a machine able to send e-mail with just an account name and smtp server name? Isn't ther authentication? I thought that usually there is a POP authentication first?

Thanks for any help!
Title: Can't send e-mail throuh external/ISP + PHP
Post by: paulmancan2 on August 06, 2004, 10:28:48 PM
I checked that I can send through my ISP's SMTP without authentication and it is OK with my static IP, so authentication is not the issue here.

I specified the ISP SMTP in the additional e-mail panel and then tried sending mail from PINE and it said connection refused.

I then removed this setting and tried again, same thing.

Then I realized that the qmail service was not enabled, so I enabled it. Still the same thing!

I am totally lost here and would appreciate any help!

Thanks!
Title: Can't send e-mail throuh external/ISP + PHP
Post by: paulmancan2 on August 10, 2004, 10:00:44 PM
Thanks for all the help :P

Anyway this issue is mostly resolved now. I did not realize that the qmail MTA service has to be running and thought that it could be invoked by a sendmail request.

I am still curious though why PHP.INI settings are ignored (FROM and SMTP.)