Reply to Re: [PHP] Mail SMTP settings

Your name:

Reply:


Posted by Dan on 12/04/05 07:17

Yes that does work but the return path and my mail headers still show
the main domain. My point is that PHP should be acessing my SMTP
server specified but it is using the default local host instead.

Dan T

On Dec 3, 2005, at 11:06 AM, Curt Zirzow wrote:

> On Sat, Dec 03, 2005 at 12:45:24AM -0700, Dan wrote:
>> I have a PHP 4.x install on an Apache server. I have a PHP
>> application and a call to the mail function. I have 2 static IP's on
>> the server and I have one web server and one instance of postfix for
>> each IP to basically separate the two sites. The only issue I have
>> right now is sending mail via PHP.
>>
>> I have tried to set the SMTP server and reply address via a php_value
>> in my httpd.conf file and via the ini_set function for my site in
>> question. Regardless of these setting mail is sent from the www user
>> at my main site domain:
>
> The ini setting is called 'sendmail_from'. or you can use the 5th
> argument in the mail command.
>
> Curt.
> --
> cat .signature: No such file or directory
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

[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

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