[guadec-web] Improve email
- From: Pascal Terjan <pterjan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [guadec-web] Improve email
- Date: Wed, 16 Jul 2014 12:17:10 +0000 (UTC)
commit dce5c4f795002087a9b0c0d9eab6fa955f8321df
Author: Pascal Terjan <pterjan gmail com>
Date: Wed Jul 16 12:17:02 2014 +0000
Improve email
guadec/ipn.php | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/guadec/ipn.php b/guadec/ipn.php
index 7522037..7ec0efb 100755
--- a/guadec/ipn.php
+++ b/guadec/ipn.php
@@ -45,7 +45,7 @@ if ($verified) {
$cvar[$ckey] = $cvalue;
$i = $i + 1;
}
- $headers = "From: GUADEC 2014 Registration Script <membership-committee gnome org>\n";
+ $headers = "From: GUADEC 2014 Registration Script <contact guadec org>\n";
// 1. Make sure the payment status is "Completed"
if ($_POST['payment_status'] != 'Completed') {
@@ -103,9 +103,6 @@ if ($verified) {
$body .= $cvar['name'];
$body .= " with email ";
$body .= $cvar['email'];
- $body .= $listener->getTextReport();
- error_log($body);
- mail($_POST['receiver_email'], 'GUADEC-2014 Registration Payment Successful', $body, $headers);
mail($_POST['payer_email'], 'GUADEC-2014 Registration Successful', $body, $headers);
$body .= "Complete List of items that you have paid for\n";
$email_content =
@@ -121,6 +118,9 @@ if ($verified) {
;
$body .= $email_content;
mail($cvar['email'], 'GUADEC-2014 Registration Successful', $body, $headers);
+ $body .= $listener->getTextReport();
+ error_log($body);
+ mail($_POST['receiver_email'], 'GUADEC-2014 Registration Payment Successful', $body, $headers);
}
}
else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]