I have some confusion here. Im using yii-mail extension. But i have put all the script in protected/component directory. I have configures main.php and run well tested.
I wonder if it suppose to be in protected/extension directory? When should i use extension and when i should use component?