[SPTUsers] E-mail
Scot Wilcoxon
Scot at Wilcoxon.Org
Sun Mar 16 03:37:28 CST 2003
On Fri, 2003-03-14 at 17:03, Michael McFadden wrote:
> When users sign up for a new account they aren't receiving an e-mail with
> their password. I am assuming that I will need to set up some sort of
> e-mail server on my RedHat system
No, you need an email CLIENT in your machine.
You need access to an email server someplace, but not necessarily inside
the web server machine.
PHP needs to be told where that email program is, so the mail() function
can contact it and send the mail.
http://www.php.net/manual/en/ref.mail.php
On a Microsoft system, PHP apparently has a built-in mail client and has
to be told where the mail server (SMTP server) is. On Unix a program,
usually called "sendmail" is given the email.
The Unix program "sendmail" is often used for mail, but that has both
client and server abilities. Other programs exist which can only send
mail but not receive it; these usually are configured to know of a
"smart host" with a full mail server. And some mail packages include a
program called "sendmail" even though it is not the same program, just
to help other programs which use that mail program name.
More information about the SPTUsers
mailing list