Re: Email configuration

From: Date: Fri, 06 Feb 2009 10:57:52 +0000
Subject: Re: Email configuration
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-287802@lists.php.net to get a copy of this message
2009/2/5 Thodoris <tgol@kinetix.gr>:
I think that the OP mentioned the word fedora somewhere above...
    
Oh sorry, I'm so stupid... Anyways, if you want to send mail to large providers you'll need to use a relay. I found a nice tutorial about how to set it up with google apps. It was for Ubuntu but you just have to install msmtp and follow the other steps. Here it is: http://nanotux.com/blog/the-ultimate-server/4/#l-mail I did it on my little gentoo server here at home and it works great.
Well if I am not getting what you say in the wrong way I should say that you don't need to use a relay because you don't need a mail server at all. The point is that PHP can send mail with the mail() function using a local mail client like sendmail's client part or something coded in pure PHP. Keep in mind that you don't need to have a mail server in your PC in order to send mail. Similarly PHP doesn't need to have a local mail server in order to send mail. So you don't need extra mail configuration assuming of course that you don't need to do something extreme. You just use mail() and the mail gets sent. -- Thodoris

« previous php.general (#287802) next »