Now it has happened... the provider switched the mail handling. And: catastrophe.
Unfortunately it is not enough to set the form sender to a fixed adress. The only way to recieve mails seems to set the -f parametre to the mail() function, e.g.
mail($empfaenger, $subject, $message, $header, "-f must-exist@unlucky-customer-of-goneo.de");
Does anybode have an idea how to add this to the wb mail handler? I have already looked at include/phpmailer/class.phpmailer.php, but simply setting the $params to the value above did not work.
Switching to SMTP mail sending does not help either. And no, I cannot simply change the provider, because this would mean to move 17 websites... argh...
I am really in big, big trouble. Would be great if anyone could help.So this is the solution - if any other Goneo customer has the same problem:
1.) generate a php.ini file (see
http://wiki.goneo.de/doku.php?id=php.ini) and change the line sendmail_path as it is described here:
http://wiki.goneo.de/doku.php?id=mailversand_php2.) copy the php.ini in the following directories:
/account (this is necessary to send the forgot-password-mail to user)
/admin/login/forgot (this is necessary to send the forgot-password-mail to user)
andin
every directory where you have placed a form or formX page. Usual this is the
pages directory; but if your contact form is placed below other pages (f. ex. "contact"), WB generates a subdirectory called contact => So you have also to copy the php.ini file into the subdirectory
/pages/contact. Otherwise you will not recieve any form data mails.
(So if you restructure your wb page in several months you have to remember to move also the php.ini files if necessary...)
Lovely isn't it. If you don't have FTP access to the wb directory - bad luck...