diff --git a/www/protected/config/main.php b/www/protected/config/main.php index efc76b6..c26b0e2 100644 --- a/www/protected/config/main.php +++ b/www/protected/config/main.php @@ -1,7 +1,7 @@ '', ), - 'components'=>array( - 'mail' => array( - 'class' => 'application.extensions.yii-mail.YiiMail', - 'transportType' => 'smtp', - 'transportOptions' => array( - 'host' => 'mail.rodax-software.com', - 'encryption' => '', - 'username' => 'mantenimiento+rodax-software.com', - 'password' => '34y96w6d', - 'port' => 25, - ), - 'viewPath' => 'application.views.mails', - ), - ), + 'mail' => array( + 'class' => 'application.extensions.yii-mail.YiiMail', + 'transportType' => 'smtp', + 'transportOptions' => array( + 'host' => 'mail.rodax-software.com', + 'encryption' => '', + 'username' => 'mantenimiento+rodax-software.com', + 'password' => '34y96w6d', + 'port' => 25, + ), + 'viewPath' => 'application.views.mails', + ), // Application Log 'log' => array( diff --git a/www/protected/config/mode_production.php b/www/protected/config/mode_production.php index e18d6fe..028a620 100644 --- a/www/protected/config/mode_production.php +++ b/www/protected/config/mode_production.php @@ -10,7 +10,7 @@ // Set yiiPath (add extra ../../) -//$yiiPath = dirname(__FILE__) . '/../../../yii/framework/yii.php'; +$yiiPath = dirname(__FILE__) . '/../../../../framework/yii.php'; // Set YII_DEBUG and YII_TRACE_LEVEL flags $debug = false; @@ -33,20 +33,21 @@ $configSpecific = array( 'tablePrefix' => '', ), - 'components'=>array( - 'mail' => array( - 'class' => 'application.extensions.yii-mail.YiiMail', + 'mail' => array( + 'class' => 'application.extensions.yii-mail.YiiMail', 'transportType' => 'smtp', 'transportOptions' => array( - 'host' => 'smtp.selforsistemas.com', - 'encryption' => '', - 'username' => 'admin@selforsistemas.com', + 'host' => 'smtp-04.servidoresdns.net', + 'encryption' => 'tls', + 'authMode' => 'login', + 'username' => 'sbd8984', 'password' => 'Rafael2012', - 'port' => 25, + 'port' => 465, ), 'viewPath' => 'application.views.mails', - ), - ), + 'logging' => false, + 'dryRun' => false + ), // Application Log 'log' => array( @@ -70,8 +71,8 @@ $configSpecific = array( 'params' => array( 'frontpage' => 'http://intranet-incam.dyndns.biz:8008/profind/', - 'email_remitente' => 'noreply@profindtic.com', + 'email_remitente' => 'admin@selforsistemas.com', ), ); -?> \ No newline at end of file +?>