Hi,
You can configure the STMP settings of PHP to point to another server in your LAN which runs an SMTP server, or to the SMTP server of your ISP. The SMTP settings are documented at [php.net].
You can then use the mail() function of PHP, or classes like phpMailer from [
sourceforge.net], to send messages.
Whichever function you use to send mail, make sure that if you accept user input as email addresses, your application code carefully validates the format of the email address your users enter and scrubs the input data from any SQL injection attempts and attempts to use your server as a relay server. It is important to do some research on these security topics before implementing a mail application open to the public.
Regards,
toivo
Sydney, Australia