destination mail ois flexible
This commit is contained in:
parent
c2ca7d8996
commit
4138b330b9
|
@ -8,4 +8,5 @@ $mailUsername = 'mailuser'; // SMTP username
|
|||
$mailPassword = 'mailpasswd'; // SMTP password
|
||||
$mailSMTPSecure = 'tls'; // Enable encryption, 'ssl' also accepted
|
||||
|
||||
$mailDest = "someone@example.com";
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue