|
|
@ -413,9 +413,18 @@ $file = "$resultnam.pdf"; |
|
|
|
if ($_POST['sendmail']=='yes'){ |
|
|
|
$subj = "Kostenerstattungsantrag ueber".calcSum()." EUR"; |
|
|
|
|
|
|
|
|
|
|
|
$mail = new PHPMailer\PHPMailer\PHPMailer(); |
|
|
|
$mail->SMTPOptions = array( |
|
|
|
'ssl' => array( |
|
|
|
'verify_peer' => false, |
|
|
|
'verify_peer_name' => false, |
|
|
|
'allow_self_signed' => true |
|
|
|
) |
|
|
|
); |
|
|
|
|
|
|
|
$mail->IsSMTP(); |
|
|
|
$mail->setFrom("noc@wikimedia.de"); |
|
|
|
$mail->setFrom($mailFrom); |
|
|
|
$mail->Subject = $subj; |
|
|
|
$mail->Body = "Kostenerstattungsantrag ..."; |
|
|
|
$mail->AddAddress($mailDest); |
|
|
|