apvd Posted May 15, 2020 Share Posted May 15, 2020 Prestashop 1.7 , how do I set an smtp from app/config/parameters.php? there are those array keys, even if setting them I'm unable to configure an smtp server 'mailer_transport' => 'smtp', 'mailer_host' => '127.0.0.1', 'mailer_user' => NULL, 'mailer_password' => NULL, Link to comment Share on other sites More sharing options...
Guest Posted May 16, 2020 Share Posted May 16, 2020 Do not set in parameters.php but in administration. Advanced Parameters => E-mail Link to comment Share on other sites More sharing options...
apvd Posted May 16, 2020 Author Share Posted May 16, 2020 I need to set them outside the backend interface because I need to automate the staging environment. Is that supported at all? Link to comment Share on other sites More sharing options...
luishuaymana Posted May 17, 2020 Share Posted May 17, 2020 You don't need to configure from the app/config/parameters.php code to have a configuration outside of the backoffice. You should add the smtp data in Parameters>mail as @Guest , and then under the Maill::Send configuration, load the email you need. Excuse the translation, my language is Spanish Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now