Sending Mail to new users with swift Mailer

I want to create a user registration system with Yii.

So,I created member model and generate registration form.

And then I want to use swift Mailer to send them email.

I installed swift mail extension and i don’t know how can i send email.

Plz help me

:( I am really new in MVC and Yii.

Read this:

If swiftmailer doesn’t work you can try with PHPMailer.