Browse Source

make usable in send_mail function

tags/contribute2018
Max Mehl 8 months ago
parent
commit
1b15ee534e
Signed by: max.mehl <max.mehl@fsfe.org> GPG Key ID: 2704E4AB371E2E92
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      cgi-bin/promotion.php

+ 1
- 0
cgi-bin/promotion.php View File

@@ -63,6 +63,7 @@ function relay_donation($orderID) {
}

function send_mail ( $to, $from, $subject, $msg, $bcc = NULL, $att = NULL, $att_type = NULL, $att_name = NULL ) {
global $countrycode; // take variable from below where we split the POST string
$headers = "From: $from\n";
if ( isset( $bcc )) { $headers .= "Bcc: $bcc" . "\n"; }
$headers .= "X-OTRS-Queue: Shipping::Promo Material Orders\n";

Loading…
Cancel
Save