darkus Posted March 6, 2014 Share Posted March 6, 2014 Hello. I have a prestashop 1.5.6.0 proyect and i see a problem with the smtp option on mail configuration. I try to use it because when i use php mail function the destination mail is putting in spawn folder because the from data is null, and gmail say sending by ... It only append when a customer put a message in the contact form. Lot of hours of test i see that the prestashop system try to send to me a mail notify the message but with the form field with the customer mail. This is a big problem because all servers have the relay rules in mode to do not relay if the account mail is not in their mail list, normaly all mails are dropped. I change a line in prestashop Mail.php class to solve it, now all work fine. in /classes/Mail.php at line 93 i coment it like this. //if (!isset($from) || !Validate::isEmail($from)) This maner all messages have from of the shop mail, then the server let the message to pass. This is a little repair becuse alwais the from message is the same, and can't be a employed mail. Please see it and make a patch for this problem. Thanks. Fco. Torregrosa. 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