New Zenner
- Join Date:
- Dec 2010
- Posts:
- 17
- Plugin Contributions:
- 0
Email issues NEED HELP Please
My email is not working and I cannot figure out why. Ive changed and messed around with all the settings within zen cart for smtp and checked with go daddy on my setting which are correct. I do not receive emails from contact us nor tell a friend.
I also did this seen on older posts and email works fine here :
> Re: Godaddy email problems...Now this works and nothing from website works. Any ideas ?
Hmm, the 'take two aspirins and call me in the morning response. The simplest way to test is to reduce everything to the lowest common denominator.
If you take the following code, and paste it into a file, call it mailtest.php or something and edit it to use real email addresses. Then copy it into the main folder of your site, and open it with a browser, with http://www.yourdomain.com/mailtest.php
Code:
<?php $to = '[email protected]'; $subject = 'the subject'; $message = 'hello'; $headers = 'From: [email protected]' . "\r\n" . 'Reply-To: [email protected]' . "\r\n" . 'X-Mailer: PHP/' . phpversion(); mail($to, $subject, $message, $headers); ?>It is simply a small piece of PHP code calling the mail() function. If that works, then you have some broken files or similar in your Zen Cart install. If not, your hosts are lying through their teeth.
Thanks !!!