nexgenappliances Posted January 19, 2014 Share Posted January 19, 2014 When I enter new SMTP settings into advanced paramaters > email they do not take effect. I was using smtp hosted by my webhost, however we switched to gmail a while ago. I never moved the store over to the new gmail server, and we're starting to get flagged as spam, since the mx records no longer point to the smtp server running on our hosts farm. So I went in tonight and entered the settings into the email > advanced parameters area and clicked save. I sent a few test messages, which never arrive in any of my google apps email addresses. I sent one to an old email address I have and it was received. Upon inspection of the mail headers, the mail is STILL coming from my hosts email server, even though in email > advanced parameters it clearly says smtp.gmail.com This store has been in place for a year now, and im not certain which version we started with but I recently upgraded to 1.5.6.1. Is it possible that the mail server settings are coded into a php file or database table somewhere? Please help, this is frustrating. Link to comment Share on other sites More sharing options...
bellini13 Posted January 19, 2014 Share Posted January 19, 2014 sounds like there is a cache (memcache, apc etc) that is storing the credentials. have you tried to look at the settings in the ps_configuration table to see what the real saved credentials are? 2 Link to comment Share on other sites More sharing options...
nexgenappliances Posted January 20, 2014 Author Share Posted January 20, 2014 The information in the database is what was entered. However email is still being sent from the old smtp server. I really dont get whats going on here Link to comment Share on other sites More sharing options...
nexgenappliances Posted January 20, 2014 Author Share Posted January 20, 2014 Also, caching is not enabled. Something is set somewhere. PHP mail works but is flagged as spam by google. Ill look into setting up spf records but it would be much better if we could use SMTP. Anyone have any ideas? Link to comment Share on other sites More sharing options...
nexgenappliances Posted January 20, 2014 Author Share Posted January 20, 2014 I even purchased your module Bellini..... still no dice. Link to comment Share on other sites More sharing options...
nexgenappliances Posted January 20, 2014 Author Share Posted January 20, 2014 upon further investigation, the smtp server address is the only setting that is being over ridden. The username and password are being pulled from the database as expected. There has to be a static entry in prestashop somewhere that is over riding the smtp server address. Anyone have any ideas where to start? Link to comment Share on other sites More sharing options...
bellini13 Posted January 21, 2014 Share Posted January 21, 2014 (edited) You would need to trace the issue starting from AdminEmailsController.php, in the function ajaxProcessSendMailTest. See what this function is receiving from the browser window when you perform the SMTP test. I suspect the browser has likely cached the old server setting. Have you tried clearing your browser cache? Also my modification (its not a module) would not resolve this issue. The modification only resolves STARTTLS issues with various SMTP gateways. Edited January 21, 2014 by bellini13 (see edit history) Link to comment Share on other sites More sharing options...
nexgenappliances Posted January 24, 2014 Author Share Posted January 24, 2014 The problem was with the host. Their /20 got blacklisted, and weren't allowed to relay mail through level 1. They also misconfigured something with the shared hosting, which didn't allow us to connect to outside SMTP servers. We have migrated to a new host, and have been able to connect to gmail using TLS. Problem is resolved. Thanks for the help bellini13 Link to comment Share on other sites More sharing options...
Recommended Posts