diff --git a/config.sample.php b/config.sample.php index 3ad0e8e..c1920b1 100644 --- a/config.sample.php +++ b/config.sample.php @@ -8,4 +8,5 @@ $mailUsername = 'mailuser'; // SMTP username $mailPassword = 'mailpasswd'; // SMTP password $mailSMTPSecure = 'tls'; // Enable encryption, 'ssl' also accepted +$mailDest = "someone@example.com"; diff --git a/submit.php b/submit.php index f4fab8a..aeca3a2 100644 --- a/submit.php +++ b/submit.php @@ -417,8 +417,8 @@ if ($_POST['sendmail']=='yes'){ $mail->IsSMTP(); $mail->setFrom("noc@wikimedia.de"); $mail->Subject = $subj; - $mail->Body = "Kostenerstattungsantragi ..."; - $mail->AddAddress("tube@surfpoeten.de"); + $mail->Body = "Kostenerstattungsantrag ..."; + $mail->AddAddress($mailDest); $mail->AddAttachment( $file , 'antrag.pdf' ); $mail->Host = $mailHost; // Specify main and backup server