config main of yii application


here is my problem:

in my main application I have :








        'SMTPAuth'=>true, ),


but I want those parametres to be dynamics and have possibility to chane it from my controler

Is there any solution to change default parametres in main config from contoller


I hope it help you