kevin Posted October 22, 2018 Posted October 22, 2018 I'm trying to make a prestashop module that auto-send a E-mail to customer. I'm runnnig this php class: When I do so i get the error: Socket Error # 11001 Host not found. The smtp_port is set on 25. I need your help!
wakabayashi Posted October 22, 2018 Posted October 22, 2018 I don't get it: 1. This is not prestashop forum 2. Why do you need a new conncection to the database in a module?
Traumflug Posted October 22, 2018 Posted October 22, 2018 There is a class Mail already: https://github.com/thirtybees/thirtybees/blob/1.0.x/classes/Mail.php Looking up usages of this class and starting with something similar is certainly a good idea. No need to reinvent the wheel.
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