Reply to Re: PHP Email

Your name:

Reply:


Posted by Michael Vilain on 04/28/07 00:20

In article <1177680745.238934.146880@s33g2000prh.googlegroups.com>,
Max <MaximGolyuk@gmail.com> wrote:

> I have a question related to this post:
>
> We are using 2 different Linux based servers: one for web (PHP, MySQL)
> and another for the mail (Qmail, SquirrelMail e.t.c.). Our webserver
> is co-located and mail server is installed here. For the PHP mail()
> function to be able to use the mail server, I modified php.ini for
> SMTP to pointi to the mail server' IP. Yet it still uses web server's
> sendmail as SMTP MTA.
>
> Please help

That's not how UNIX email works. AFAIK, php.ini tells php where the
local mail transport agent (MTA) is located. php uses this to spawn a
thread or perhaps even fork() a process to deliver the mail to the MTA.
There's no provision to use "remote" MTAs.

You'll have to configure the local MTA on the web server to forward the
mail to the mail server if you want mail delivered.

--
DeeDee, don't press that button! DeeDee! NO! Dee...

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация