Configure Sylius Mailer To Work With Zoho Mail SMTP

I’ve just installed Sylius eCommerce framework recently and feeling great with it because it’s very easy to customize although there are still many part of the documentation that need to be improved 😉 . I was happy until I get stuck with email sending for days, below is my first app/config/parameters.yml file:

At first glance there seem nothing is wrong with my parameters.yml file, I’ve follow what zoho says about their SMTP settings but still I’m unable to send email and got this error:

Then I opened this article: how to send email with Symfony and realized that I haven’t set proper configuration yet 😅, so I need to change my app/config/config.yml as follow:

again, I’m still unable to send email but now with different error message:

And finally to fix this issue, I must override sylius mailer configuration in /project_path/vendor/sylius/sylius/src/Sylius/Bundle/CoreBundle/Resources/config/app/sylius/sylius_mailer.yml, add these line into app/config/config.yml:

--

--

enterprise architect. tech enthusiast. coffee addict. https://blog.rumbia.id

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store