concretepress Posted August 2, 2006 Share Posted August 2, 2006 I'm not getting an e-mail from my test purchases. I've put in both "send additional e-mail to" my e-mail adress via the admin panel, but am getting no e-mail other than the receipt of payment from the credit card processor, which does not have the ordered items. Only the amount, which makes it impossible to fill the order. Any insight would be greatly appreciated. Thanks in advance. Link to comment Share on other sites More sharing options...
Guest Posted August 2, 2006 Share Posted August 2, 2006 Hello, This can be tough to diagnose when we don't know what your hosting environment is like. Do you host it on your own server or a third party? If you are hosting it have you configured your php.ini mail directives correctly? Example: I'm running Debian Linux, Windows servers are differenet... [mail function] ; For Win32 only. ;SMTP = mail.domain.com ;smtp_port = 25 ; For Win32 only. ;sendmail_from = [email protected] ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). sendmail_path = /usr/sbin/sendmail -t -i You can also test your php mail setting by doing a simple script like this (change the values below to fit your environment): <?php $headers = "From:[email protected]\r\n"; $headers .= "Reply-To:[email protected]\r\n"; $headers .= "Content-Type: text/plain;\r\n charset=iso-8859-1\r\n"; mail("[email protected]", "Test from Server using PHP mail function", "Here is the test", $headers); ?> Save that to a file called .../catalog/mailtest.php Then open the page in a browser and it will automatically fire off your test. http://yourdomain.com/catalog/mailtest.php Troubleshooting mail problems is not always easy especially if this is all new for you. I'll watch the thread and see if I can help if you post back. Good Luck, Tim Link to comment Share on other sites More sharing options...
concretepress Posted August 2, 2006 Author Share Posted August 2, 2006 I appreciate the help. I apologize. I suppose that I should have offered a little more info. I'm using a shared Windows server through ixwebhosting. I am also using credit card processing through a provider only. No Paypal or other methods. The webstore is located at http://www.thelollipopshop.net/catalog if that helps. Thanks again. Hello, This can be tough to diagnose when we don't know what your hosting environment is like. Do you host it on your own server or a third party? If you are hosting it have you configured your php.ini mail directives correctly? Example: I'm running Debian Linux, Windows servers are differenet... [mail function] ; For Win32 only. ;SMTP = mail.domain.com ;smtp_port = 25 ; For Win32 only. ;sendmail_from = [email protected] ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). sendmail_path = /usr/sbin/sendmail -t -i You can also test your php mail setting by doing a simple script like this (change the values below to fit your environment): <?php $headers = "From:[email protected]\r\n"; $headers .= "Reply-To:[email protected]\r\n"; $headers .= "Content-Type: text/plain;\r\n charset=iso-8859-1\r\n"; mail("[email protected]", "Test from Server using PHP mail function", "Here is the test", $headers); ?> Save that to a file called .../catalog/mailtest.php Then open the page in a browser and it will automatically fire off your test. http://yourdomain.com/catalog/mailtest.php Troubleshooting mail problems is not always easy especially if this is all new for you. I'll watch the thread and see if I can help if you post back. Good Luck, Tim Link to comment Share on other sites More sharing options...
Guest Posted August 2, 2006 Share Posted August 2, 2006 Okay, Most likely your hosting environment is setup correctly. Did you try the simple test script? Tim Link to comment Share on other sites More sharing options...
concretepress Posted August 2, 2006 Author Share Posted August 2, 2006 Thanks all. I think I found the problem. Okay, Most likely your hosting environment is setup correctly. Did you try the simple test script? Tim Link to comment Share on other sites More sharing options...
Guest Posted August 2, 2006 Share Posted August 2, 2006 You should post your resolution for the benefit of others. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.