Re: Need some help too!
| From: | Miguel Cruz | Date: | Tue, 02 Apr 2002 07:08:32 +0000 |
| Subject: | Re: Need some help too! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-91089@lists.php.net to get a copy of this message | ||
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?
2 options:
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.
miguel