On Tue, 2 Apr 2002, Ryan F. Bayhonan wrote:
> I'h vaving problem with mail function. I'm currently making a PHP
> application that would be able to send mails to my co-employee. My webserver
> where my application reside runs on linux without a sendmail appliation.
> That is why the mail function fails to work.
> I don't want to install a sendmail program since our office already have a
> central mail server which runs on solaris.
> Is there a work around for my problem?
1) Install something like nullmailer (http://untroubled.org/nullmailer/)
that looks like sendmail to local processes but just dumps all mail on
your central server for processing.
2) Use a PHP library that handles the SMTP transaction. It's a very simple
protocol, and I am certain if you search some of the code snippet sites
(check the links at http://www.php.net/links.php) you'll find one quickly.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php