hiChris, i've read several forums where this mail() function from PHP initial package is not so great. Therefore a lot of people use PHPMailer which is more convenient for that purpose...especially more flexible. thanks a lot for your help. Alain On Thu, Mar 13, 2008 at 8:35 AM, Chris <dmagick@xxxxxxxxx> wrote: > Alain Roger wrote: > > 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. > > 1 of 2 options. > > 1) Find another host with safe-mode disabled > 2) Use something like phpmailer to send your emails through an smtp server > > -- > 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