Message info
 
To:kde-commits@kde.org From:Emil Sedgh Subject:[websites/jointhegame-kde-org] protected: Changing `from` email address as requested by Ben. Date:Mon, 14 May 2012 14:07:26 +0200 (CEST)
 

Git commit c7c8e08936cf4a1ca4e5d50b0984cafd2759c4cd by Emil Sedgh.
Committed on 14/05/2012 at 14:03.
Pushed by esedgh into branch 'master'.

Changing `from` email address as requested by Ben.

M +2 -2 protected/controllers/JoinController.php
M +1 -1 protected/controllers/RecoverController.php
M +3 -3 protected/models/Payment.php

http://commits.kde.org/websites/jointhegame-kde-org/c7c8e08936cf4a1ca4e5d50b0984cafd2759c4cd

diff --git a/protected/controllers/JoinController.php b/protected/controllers/JoinController.php
index 0f43d6e..9bcc2ab 100644
--- a/protected/controllers/JoinController.php
+++ b/protected/controllers/JoinController.php
@@ -87,7 +87,7 @@ Class JoinController Extends Controller {
Yii::import('ext.yii-mail.*');
$mail = New YiiMailMessage;
$mail->subject = Yii::t('join', "Your verification number on KDE's Join The Game");
- $mail->from = 'noreply@jointhegame.kde.org';
+ $mail->from = 'jointhegame-admin@kde.org';
$mail->to = array($model->email);
$mail->body = $this->renderPartial('/mail/verification', array('model' => $model), True, True);
Yii::app()->mail->send($mail);
@@ -95,7 +95,7 @@ Class JoinController Extends Controller {
$recievers = New CConfiguration('protected/config/notifications.php');
$mail = New YiiMailMessage;
$mail->subject = Yii::t('join', "New member on KDE's Join The Game");
- $mail->from = 'noreply@jointhegame.kde.org';
+ $mail->from = 'jointhegame-admin@kde.org';
$mail->to = $recievers['recievers'];
$mail->body = $this->renderPartial('/mail/notification', array('model' => $model), True, True);
Yii::app()->mail->send($mail);
diff --git a/protected/controllers/RecoverController.php b/protected/controllers/RecoverController.php
index 33d1785..c28131d 100644
--- a/protected/controllers/RecoverController.php
+++ b/protected/controllers/RecoverController.php
@@ -29,7 +29,7 @@ Class RecoverController Extends Controller {
Yii::import('ext.yii-mail.*');
$mail = New YiiMailMessage;
$mail->subject = Yii::t('join', "Recover password on KDE's Join The Game");
- $mail->from = 'noreply@jointhegame.kde.org';
+ $mail->from = 'jointhegame-admin@kde.org';
$mail->to = array($claimed->email);
$mail->body = $this->renderPartial('/mail/recover', array('model' => $model), True, True);

diff --git a/protected/models/Payment.php b/protected/models/Payment.php
index 9160c1d..cea50ec 100644
--- a/protected/models/Payment.php
+++ b/protected/models/Payment.php
@@ -116,7 +116,7 @@ Class DirectDebitAuthorizationPayment Extends Payment {
Yii::import('ext.yii-mail.*');
$mail = New YiiMailMessage;
$mail->subject = Yii::t('join', 'Your payment for Join The Game campaign');
- $mail->from = 'noreply@jointhegame.kde.org';
+ $mail->from = 'jointhegame-admin@kde.org';
$mail->to = array($this->owner->email);
$mail->body = Yii::app()->controller->renderPartial('/mail/direct_debit', array('model' => $this->owner), True, True);
Yii::app()->mail->send($mail);
@@ -136,7 +136,7 @@ Class DirectTransferPayment Extends Payment {
Yii::import('ext.yii-mail.*');
$mail = New YiiMailMessage;
$mail->subject = Yii::t('join', 'Your payment for Join The Game campaign');
- $mail->from = 'noreply@jointhegame.kde.org';
+ $mail->from = 'jointhegame-admin@kde.org';
$mail->to = array($this->owner->email);
$mail->body = Yii::app()->controller->renderPartial('/mail/direct_transfer', array('model' => $this->owner), True, True);
Yii::app()->mail->send($mail);
@@ -156,7 +156,7 @@ Class ManualPaypalPayment Extends Payment {
Yii::import('ext.yii-mail.*');
$mail = New YiiMailMessage;
$mail->subject = Yii::t('join', 'Your payment for Join The Game campaign');
- $mail->from = 'noreply@jointhegame.kde.org';
+ $mail->from = 'jointhegame-admin@kde.org';
$mail->to = array($this->owner->email);
$mail->body = Yii::app()->controller->renderPartial('/mail/paypal_manual', array('model' => $this->owner), True, True);
Yii::app()->mail->send($mail);