There’s one little gotcha with installing Swift in symfony 1.1. The directions are correct but do not mention how to get around the error that outputs:
Fatal error: Class ‘Swift_Connection_SMTP’ not found
The solution is quite simple and involves creating an autoload.yml file in your project’s config directory. Here it is:
autoload: swift_mailer_classes: name: swift classes ext: .php path: %SF_PLUGINS_DIR%/swift recursive: on
What I really like about Swift is how you can use your gmail account to send messages.