Re: mail function and qmail
| From: | Catalin Trifu | Date: | Sun, 26 Sep 2004 21:58:34 +0000 |
| Subject: | Re: mail function and qmail | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-197914@lists.php.net to get a copy of this message | ||
Php Mysql wrote:
mail function in php requires to use 'sendmail'. But I have only 'qmail' on the box. How I can send email in PHP? ThanksHi, After u installed qmail, there is a qmail compatible sendmail created for you in /var/lib/qmail/bin (i think that's where it should be). As qmail docu' says y should copy or symlink this sendmail to the /bin/sendmail or /usr/bin/sendmail on u'r system. Make sure u first backup u'r original sendmail. This should make PHP's mail stuff work as expected with qmail hope this helps, Catalin