Re: mail function and headers

From: Date: Thu, 13 Mar 2008 06:43:16 +0000
Subject: Re: mail function and headers
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-271475@lists.php.net to get a copy of this message
Hi Chris, interesting thing, but i get the following error message : *Warning*: mail() [function.mail<http://test4.rogtek.com/common/function.mail>]: SAFE MODE Restriction in effect. The fifth parameter is disabled in SAFE MODE. in */test4/common/sendmail.php* on line *119* how can i solve this by only PHP ? i do not have access to web hosting server or php.ini. thx, Alain. On Thu, Mar 13, 2008 at 12:57 AM, Chris <dmagick@gmail.com> wrote: > > > as you can see my Return-Path is still pointing on the wrong direction > :-( > > any other idea ? > > return-path is set with the 5th mail() param: > > mail($to, $subject, $body, $headers, '-freturn_path_email@address.com'); > > > -- > Postgresql & php tutorials > http://www.designmagick.com/ > -- Alain ------------------------------------ Windows XP SP2 PostgreSQL 8.2.4 / MS SQL server 2005 Apache 2.2.4 PHP 5.2.4 C# 2005-2008

« previous php.general (#271475) next »