Re: mail function and headers
| From: | Alain Roger | Date: | Thu, 13 Mar 2008 08:40:43 +0000 |
| Subject: | Re: mail function and headers | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-271478@lists.php.net to get a copy of this message | ||
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@gmail.com> 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