Seite 1 von 1

Email-Mod und 2.011

Verfasst: 01.03.2005 16:09
von Helmut71
bin grad draufgekommen, dass das email-formular (Email-Mod von Carsten Schäfer) mit 2.011 auch nicht mehr funktioniert.

Code: Alles auswählen

define('IN_PHPBB', true);

$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);

$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);

$page_title = $lang['Kontakt'];
include($phpbb_root_path . 'includes/page_header.'.$phpEx);

$email_from = "$name<$email>";
$email_to = "deine@email.de";
$header = "From:$email_from\n";
mail($email_to,$betreff,$textfeld,$header);

if (mail==false){
$false = $lang['kontakt8'];}
else {
$true = $lang['kontakt9'];}

$template->assign_vars(array(
'false' => $false,
'true' => $true)
);




$template->set_filenames(array(
'body' => '../kontakt_post.tpl')
);

$template->pparse('body');

include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
?>
Vielelicht weiß wenisgtens da jemand Rat??

Verfasst: 01.03.2005 17:11
von Markus67
Hi ...

Was bedeutet "nicht funktioniert" ?
Gibt es eine Fehlermeldung ?

Markus