Chantal Rosmuller wrote:
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.

Strange - I use postfix on my dev server and it works fine. Are you running anything non-default in postfix (eg chroot) ?

--
Postgresql & php tutorials
http://www.designmagick.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to