Re: OS need anything for mail() to work?
| From: | Robert Cummings | Date: | Fri, 25 Apr 2008 18:23:29 +0000 |
| Subject: | Re: OS need anything for mail() to work? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-273586@lists.php.net to get a copy of this message | ||
On Fri, 2008-04-25 at 11:07 -0700, Brian Dunning wrote:
> I'm running PHP 5.2.5 on OS X 10.5.2, and using the following code:
>
> ini_set('sendmail_from','address@mydomain.com');
> ini_set('SMTP','working.server.com');
> mail('brian@mydomain.com', 'Subject', 'Message');
>
> The servers and addresses are KNOWN TO WORK, I use this same code and
> same info on a number of different web servers around the world.
> Authentication is absolutely not the problem. This code works on other
> computers, but it doesn't work on mine. I get no error, but no email
> is ever sent.
>
> So my question: Is there something that needs to be installed,
> running, or otherwise configured on a computer to make sure PHP can
> send emails? How could I test for this?
Linux.
Ok, I really don't have anything to add to this, I'm just stuffing my
Dan Brown stats on the last day.
:)
Cheers,
Rob.
--
http://www.interjinn.com
Application and Templating Framework for PHP