webgo Posted May 23, 2020 Share Posted May 23, 2020 Hello everyone, I used the 1and1 server to build prestashop, all functions are perfect, but the mail system cannot be used, I ca n’t even receive the test mail, but there is no error message,I used PHP's mail () and SMTP are not working. I contacted the technical staff of 1and1, and they told me that PHP's mail () can be used normally. If I can't use it, it should be a problem of prestashop. Then, regarding the problem that SMTP cannot be used, they told me that prestashop does not meet the RFC standard Can someone help me? thank you very much Link to comment Share on other sites More sharing options...
webgo Posted May 26, 2020 Author Share Posted May 26, 2020 hace 5 horas, ndiaga dijo: Hi, Create a folder in the root of your website and create a test.php file and use the default PHP mail function to see what will happend. Here is a guide : https://www.w3schools.com/php/func_mail_mail.asp Hello, thanks for your reply, I created test.php in the root directory according to your suggestion, after testing, my mailbox can receive mail Link to comment Share on other sites More sharing options...
webgo Posted May 26, 2020 Author Share Posted May 26, 2020 hace 4 minutos, ndiaga dijo: So, you have a bug in the PrestaShop Mail class . It maybe mail templates. Did you enable the debug mode? I have enable the debug mode, but there are no serious errors Or am I missing something? Link to comment Share on other sites More sharing options...
webgo Posted May 26, 2020 Author Share Posted May 26, 2020 hace 4 minutos, ndiaga dijo: No, try to send an email from the front contact form to see. I submitted information in the form on the contact us page and I still can't receive any email Link to comment Share on other sites More sharing options...
webgo Posted May 26, 2020 Author Share Posted May 26, 2020 hace 45 minutos, ndiaga dijo: I was talking about seing a bug there. Check your log file. Thank you for your reply. This is the mail.log file I found. I don't know if you mean this? 2020-05-26 18:53:03 u98768401 zRhI29-1j9XCf2Jt4-00e9jH |< REMOTE=88.24.225.0 SCRIPT=/bazarkanito.es/test.php -- /usr/sbin/sendmail -t -i 2020-05-26 18:53:03 u98768401 zRhI29-1j9XCf2Jt4-00e9jH <= [email protected] SZ=683 D=0 SID=800581941 2020-05-26 18:53:03 u98768401 zRhI29-1j9XCf2Jt4-00e9jH => [email protected] msmtp.kundenserver.de[172.19.35.7] 250 Requested mail action okay, completed: id=1MiJhW-1j8RGz3tFm-00fVvm 2020-05-26 19:49:33 u98768401 zRBWeW-1jf05K2k1v-008KGY |< REMOTE=88.24.225.0 SCRIPT=/bazarkanito.es/kanito_admin/index.php -- /usr/sbin/sendmail -t -i [email protected] 2020-05-26 19:49:33 u98768401 zRBWeW-1jf05K2k1v-008KGY <= [email protected] SZ=1053 D=0 SID=800581941 2020-05-26 19:49:33 u98768401 zRBWeW-1jf05K2k1v-008KGY => [email protected] msmtp.kundenserver.de[172.19.35.7] 250 Requested mail action okay, completed: id=1Mcpz0-1j57tv2w2k-00a1N6 Link to comment Share on other sites More sharing options...
webgo Posted May 26, 2020 Author Share Posted May 26, 2020 hace 9 minutos, ndiaga dijo: I mean the server log file not the mail. Sorry, my English is not good. I checked the server logs and it didn't show any errors. Is there any way to find out why? Anyway thanks again for your help Link to comment Share on other sites More sharing options...
webgo Posted September 21, 2020 Author Share Posted September 21, 2020 I finally solved this problem. After setting the SMTP parameters, I need to enter Shop Parameters>Contact>Shops>Shop email, and change the Shop email address to be the same as the one on SMTP, so that I can receive emails 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