Alain Costea Posted May 11, 2013 Share Posted May 11, 2013 (edited) Hello, I did inittially email tests for my shop (for example [email protected]) and everything was ok. But, i realized today that i didn't get an email confirmation for an order test I did...and when i verified in BO, the address I saw this error: Error: Please check your configuration Sending failed using mail() as PHP's default mail() function returned boolean FALSE. The problem is, that i didn't change anything from the first time when it was working... Any ideeas? Edited May 13, 2013 by Alain Costea (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted May 12, 2013 Share Posted May 12, 2013 it looks like you havent got mail() function active in your server configuration. really weird. create php script with: phpinfo(); then open it in browser. look for information about mail function regards Link to comment Share on other sites More sharing options...
Alain Costea Posted May 12, 2013 Author Share Posted May 12, 2013 From thunderbird, i can use the email. Just doesn't seem to work from prestashop... Server information Server information: Linux #1 SMP Wed Apr 3 12:05:42 EEST 2013 x86_64 Server software version: Apache PHP version: 5.3.24 Memory limit: 256M Max execution time: 30 Database information MySQL version: 5.5.30-cll MySQL engine: InnoDB Tables prefix: ps_ Store information PrestaShop version: 1.5.4.0 Shop URL: https://decorativ-art.ro/ Current theme in use: autumn Mail configuration Mail method: You are using the PHP mail function. Your information Your web browser: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0 Check your configuration Required parameters: OK Optional parameters: Please fix the following error(s) magicquotes Do you think this is a problem for which i should call de server provider, or is something it can be fixed from BO? Link to comment Share on other sites More sharing options...
vekia Posted May 12, 2013 Share Posted May 12, 2013 yes from thunerbird it works, because thunderbird uses SMTP protocol. In your configuration, prestashop sends mail via mail() function, not via SMTP protocol. You should check the mail() funciton in your store - maybe it isn't available - so then you have to use SMTP instead mail Link to comment Share on other sites More sharing options...
Alain Costea Posted May 12, 2013 Author Share Posted May 12, 2013 I could try to set the smtp functions... how do i check the mail()function? I couldn't find the place... Link to comment Share on other sites More sharing options...
vekia Posted May 12, 2013 Share Posted May 12, 2013 create test.php file with: <?PHP phpinfo(); ?> upload it to your server, then open this file in browser - you will see php configuration, if the mail() function is available - you will be able to easily find it on list Link to comment Share on other sites More sharing options...
Alain Costea Posted May 12, 2013 Author Share Posted May 12, 2013 This is what i get: Warning: phpinfo() has been disabled for security reasons in /home/decorart/public_html/Screen/test.php on line 2 It seems it was disabled...how can be enabled...? And the strange part is that i didn't do it... Link to comment Share on other sites More sharing options...
vekia Posted May 12, 2013 Share Posted May 12, 2013 I think that you aren't able to turn it on, because this is a server configuration restriction. So, if you haven't got access to the phpinfo, mail() function probably is also blocked... Try with SMTP instead mail method Link to comment Share on other sites More sharing options...
Alain Costea Posted May 12, 2013 Author Share Posted May 12, 2013 I will try with smtp, and ask my provider if he knows what is going on... Thanks. Link to comment Share on other sites More sharing options...
Alain Costea Posted May 13, 2013 Author Share Posted May 13, 2013 I talked with my internet provider, and resolved the problem, it was something from them... Thank you. Link to comment Share on other sites More sharing options...
vekia Posted May 13, 2013 Share Posted May 13, 2013 Great! thanks for information, maybe you know something more about what was wrong? Link to comment Share on other sites More sharing options...
Alain Costea Posted May 13, 2013 Author Share Posted May 13, 2013 I think that when i had the problem with mass emails ( because i didn't had any stock and presta send me like 100 emails in a matter of minutes), the provider blockked my php not to send anymore emails... 1 Link to comment Share on other sites More sharing options...
dhimanversha000 Posted July 4, 2014 Share Posted July 4, 2014 I have same issue, initailly when i installed prestashop mail were going, but now i am getting test error and i have added php script code file on root directory to run simple php function and still mails are not going, i am getting false every time . please help me Link to comment Share on other sites More sharing options...
Recommended Posts