Re: Re: mail header questions
| From: | Chantal Rosmuller | Date: | Wed, 29 Nov 2006 08:45:31 +0000 |
| Subject: | Re: Re: mail header questions | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-245267@lists.php.net to get a copy of this message | ||
On Wednesday 29 November 2006 00:45, Chris wrote:
you will most likely change what
> >
> > I forgot to mention that I can't set the return-path either.
>
> That can *only* be an email address - you can't include a "name" in the
> return-path. Also it can't be changed if safe-mode is on for the server.
>
> From your code, where does $mainmail come from? It's not in the code
> you posted at all.
>
> $headers .= "From: $mainmail \r\n";
>
> --
> Postgresql & php tutorials
> http://www.designmagick.com/
Hi Chris,
The return path works now, $mainmail comes from a different file config.php
that is included. $mainmail is also used for the return-path and that works
so $mainmail being empty is also not the problem.
The strange thing is that even the fifth parameter solution doesn't work. I
use Postfix as MTA by the way.
Chantal