How to install and use Swift Mailer ?


I am trying to install Swift Mailer on my free web hosting plan but it doesn’t seem to be available in the apps list.

Since I don’t have access to the Console to use Composer how can I get Swift Mailer installed ?

ref for installation instructions : Swift Mailer: A feature-rich PHP Mailer – Documentation – Swift Mailer

Thank you.


You can’t run commands on free hosting, so you can’t install or use Composer itself here. However, you can install Composer on your own computer, install the dependencies on your own computer and then upload the generated vendor folder to your hosting account.