GetSimple Support Forum
Problem with p01-contact and the hoster kasserver - wrong Return-Path - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Plugins (http://get-simple.info/forums/forumdisplay.php?fid=13)
+--- Thread: Problem with p01-contact and the hoster kasserver - wrong Return-Path (/showthread.php?tid=2963)



Problem with p01-contact and the hoster kasserver - wrong Return-Path - Belletage - 2012-03-22

Hi,

I always get as return-path a funny double-address like
H&uuml@dd23567.kasserver.com;rg <user@userdomain.de>
and can´t find, where this kasserver.com comes into the system.
I gave a standard-address (standard@mydomain.de) in the p01-contact configuration.
And the user gives his address into email-field of the form.

does anybody has an idea, how I can get rid of this kasserver.com-Mail?
At which point of the p01-contact?

regards, Belle


Problem with p01-contact and the hoster kasserver - wrong Return-Path - Belletage - 2012-03-22

the reason might be in p01-contact.php on about line 720:
That doesn´t work
$headers = "From: $name <$email>\r\n";
with two variables, but that works:
$headers = "From: $email\r\n";

I saw it by setting below a
echo $headers; die;
It just gives the $name content. And because there is no email, the hosters email got into.
I don´t know why it doesn´t work. I tried it in (some) differnet ways ...
(now I`ve to bring back the $name anywhere into the mail ...)
regards, belle