forked from tohe/wmdeit_kaform
comply to RFC3834: set header Auto-Submitted: auto-generated for mails; add space in subject
Signed-off-by: Masin Wiedner <masin.wiedner@wikimedia.de>
This commit is contained in:
parent
80f0dee8fe
commit
f7efccaffb
|
@ -450,6 +450,7 @@ if ($_POST['sendmail']=='yes'){
|
||||||
$mail->IsSMTP();
|
$mail->IsSMTP();
|
||||||
$mail->setFrom($mailFrom);
|
$mail->setFrom($mailFrom);
|
||||||
$mail->Subject = $subj;
|
$mail->Subject = $subj;
|
||||||
|
$mail->addCustomHeader('Auto-Submitted', 'auto-generated'); // comply to RFC 3834 (https://www.iana.org/assignments/auto-submitted-keywords/auto-submitted-keywords.xhtml)
|
||||||
$mail->Body = "Kostenerstattungsantrag ...";
|
$mail->Body = "Kostenerstattungsantrag ...";
|
||||||
$mail->AddAddress($mailDest);
|
$mail->AddAddress($mailDest);
|
||||||
if ($mailDestCC) {
|
if ($mailDestCC) {
|
||||||
|
|
Loading…
Reference in New Issue