title: Include Files in Yii
body: <p>I am building an application in Yii that used the SwiftMailer Extension. The SwiftMailer examples show that I should include all of the information in the controller file however would it not be more organized and better to put all of the information for the email in a seperate file and include that file?</p>
  
  <p>If yes, what would be the best way to include that file? I am used to just using the include function but I am assuming with Yii it should be its own class under the components folder?</p>