Many of us have applications that use mailing functionality. In some lesser important instances we have it as a confirmation mail as part of registration process. Instead of having regular SMTP process we can either use Gmail SMTP or Yahoo SMTP as our SMTP transport with some minor changes in our mailer configuration. It is the same process how you configure your mail account in your handheld devices.
I discovered this whiletrying to deploy my app on the new staging server which didn’t have mailer configuration in place. Please find below the settings required to configure SMTP Server on Symfony.
Add the above mentioned configuration on your parameters.yml file. Make sure you are giving 4 spaces instead of tabbing for indentation.
At times you might need to add the port number as well as part of the conf settings. One can use the same in normal php or other existing frameworks as well.
Please find the conf settings for other frameworks that are widely used.