mail and smarthost

mail and smarthost

am 11.09.2007 14:08:40 von davide.papagno

Hi all.

Is it possible to use the mail function sending mail through a smart
host?
I red http://it.php.net/mail but it seems the SMTP rule work only in
windows env.

I'm using UNIX.
Really thanx

Re: mail and smarthost

am 11.09.2007 14:17:14 von gosha bine

On 11.09.2007 14:08 PigInACage wrote:
> Hi all.
>
> Is it possible to use the mail function sending mail through a smart
> host?
> I red http://it.php.net/mail but it seems the SMTP rule work only in
> windows env.
>
> I'm using UNIX.
> Really thanx
>

You can try a dedicated mailer like phpMailer or Swift.


--
gosha bine

makrell ~ http://www.tagarga.com/blok/makrell
php done right ;) http://code.google.com/p/pihipi

Re: mail and smarthost

am 11.09.2007 14:36:21 von Lammi

On 11 Sep., 14:08, PigInACage wrote:
> Hi all.
>
> Is it possible to use the mail function sending mail through a smart
> host?
> I redhttp://it.php.net/mailbut it seems the SMTP rule work only in
> windows env.
>
> I'm using UNIX.
> Really thanx

you may configure sendmail or exim to use a smarthost. that's not a
php-setting.

Re: mail and smarthost

am 11.09.2007 14:54:53 von colin.mckinnon

On 11 Sep, 13:36, Lammi wrote:
> On 11 Sep., 14:08, PigInACage wrote:
>
> > Hi all.
>
> > Is it possible to use the mail function sending mail through a smart
> > host?
> > I redhttp://it.php.net/mailbutit seems the SMTP rule work only in
> > windows env.
>
> > I'm using UNIX.
> > Really thanx
>
> you may configure sendmail or exim to use a smarthost. that's not a
> php-setting.

Or use one of the dummy MTAs out there.

C.