Commit 5dff1fc375d879f719f1349c4ed48116ecc427f8

Authored by Alex Savenko
1 parent 7991a58f

controller

Showing 1 changed file with 2 additions and 5 deletions   Show diff stats
src/lib/sendmail.php
@@ -227,9 +227,6 @@ namespace @@ -227,9 +227,6 @@ namespace
227 227
228 public function sendSubscribe($data) { 228 public function sendSubscribe($data) {
229 229
230 - $acc_log = 'promokod.semenainua@gmail.com';  
231 - $acc_pass = 'promokod0411';  
232 -  
233 $view = new \Phalcon\Mvc\View(); 230 $view = new \Phalcon\Mvc\View();
234 $view->setViewsDir( ROOT_PATH.config::get( 'dirs/viewsDir' ) ); 231 $view->setViewsDir( ROOT_PATH.config::get( 'dirs/viewsDir' ) );
235 232
@@ -264,9 +261,9 @@ namespace @@ -264,9 +261,9 @@ namespace
264 //Whether to use SMTP authentication 261 //Whether to use SMTP authentication
265 $mail->SMTPAuth = true; 262 $mail->SMTPAuth = true;
266 //Username to use for SMTP authentication - use full email address for gmail 263 //Username to use for SMTP authentication - use full email address for gmail
267 - $mail->Username = "promokod.semenainua@gmail.com"; 264 + $mail->Username = "arctic.semenainua@gmail.com";
268 //Password to use for SMTP authentication 265 //Password to use for SMTP authentication
269 - $mail->Password = "promokod0411"; 266 + $mail->Password = "arctic0411";
270 267
271 //Set who the message is to be sent from 268 //Set who the message is to be sent from
272 $mail->setFrom('semena@hs.kiev.ua', 'semena.in.ua'); 269 $mail->setFrom('semena@hs.kiev.ua', 'semena.in.ua');