Re: Problems with mail function
| From: | Chris | Date: | Wed, 25 Oct 2006 00:07:51 +0000 |
| Subject: | Re: Problems with mail function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-243595@lists.php.net to get a copy of this message | ||
Ricardo Ríos wrote:
Hi wizards, I 'm trying to use mail function in PHP, but this function don't send the email , I have a server with postfix. Does somebody know how to send an email with php and postfix. Thanks in advance.Create a phpinfo page and make sure the 'sendmail_path' is set. If that's set, you can just use php mail() as normal. The mail() command doesn't care about what sort of MTA it uses, it just cares it knows where it is and how to access it. -- Postgresql & php tutorials http://www.designmagick.com/