Looking at migrating from OsCommerce. Really impressed with layout and usability of opencart, but simply cannot get the email function to work.
I've tried php Mail, which my host says should work, but it doesn't. Also cannot get SMTP to work either.
Really frustrating because without email the software is unusable. I've trawled the forum for solutions but it seems to be a tricky area with no simple answer.
I'm using 1.5.2.1 and having spent ages trying to solve the problem am just about ready to give up on it.
Any helpful ideas out there?
Cheers
I've tried php Mail, which my host says should work, but it doesn't. Also cannot get SMTP to work either.
Really frustrating because without email the software is unusable. I've trawled the forum for solutions but it seems to be a tricky area with no simple answer.
I'm using 1.5.2.1 and having spent ages trying to solve the problem am just about ready to give up on it.
Any helpful ideas out there?
Cheers
Last edited by hfinlay10 on Wed Apr 25, 2012 8:50 pm, edited 1 time in total.
You can deal with SMTP problems with your host provider. Open Carts simply offers the fields to enter the correct parameters.
As far as you email not working I take it you are talking about in general yes? Order confirmation emails, status change emails etc?
As far as you email not working I take it you are talking about in general yes? Order confirmation emails, status change emails etc?
Hi, thanks for the replies,
@avvici: no, emails not working at all. If I set Mail as the email option, then on screen message is that emails have been sent, but no email is deliver. If SMTP is the option, then using Contact Us, on sending, cart freezes and displays blank page with nothing, not even error message. displayed path is .../ocstore/index.php?route=information/contact
@culverton12: thanks, I am still having problems with php Mail and SMTP. Any help appreciated.
Cheers
@avvici: no, emails not working at all. If I set Mail as the email option, then on screen message is that emails have been sent, but no email is deliver. If SMTP is the option, then using Contact Us, on sending, cart freezes and displays blank page with nothing, not even error message. displayed path is .../ocstore/index.php?route=information/contact
@culverton12: thanks, I am still having problems with php Mail and SMTP. Any help appreciated.
Cheers
If php mail is not working then you need to contact your hosting provider and let them know. Perhaps your PHP configuration is not correct. Have them test it out for you. In the meantime an easy way to see your configuration is just to create a php page called info.php and inside it paste this code:
Save it and upload to the root of your server then go to http://www/yourdomain.com/info.php
Code: Select all
<?php
// Show all information, defaults to INFO_ALL
phpinfo();
?>
@avvici
i have checked that php mail() is working by using a very basic php script from the root of my server, and it works fine.
I did what you suggested received the php info, but don't know how to interpret the results. What should I look for that would stop mail() from working?
Thanks for your help.
i have checked that php mail() is working by using a very basic php script from the root of my server, and it works fine.
I did what you suggested received the php info, but don't know how to interpret the results. What should I look for that would stop mail() from working?
Thanks for your help.
No. the first install i did was 1.5.2.1
When php mail() is selected, everything works fine but *no* mail is sent.
When SMTP is selected (with supplied username and password), confirmation and order history etc mail is sent and received fine, but I get errors on new account registration
When php mail() is selected, everything works fine but *no* mail is sent.
When SMTP is selected (with supplied username and password), confirmation and order history etc mail is sent and received fine, but I get errors on new account registration
First, your problem isn't directly SMTP or MAIL(), it's something else so don't get lost in a sea of this or that...
You said that you are getting errors with SMTP but no error displayed? Did you check your error log for anything?
You said that you are getting errors with SMTP but no error displayed? Did you check your error log for anything?
Hello!
I have one different problem, but it connects to e-mails, and I didn't wanted to open a new topic
Is it possible to disable to send the order update letters to my e-mail address? I mean, I want to send them only to the costumer, and not to me. When I update one purchase, and I check in the box to "Notify Customer:" then the system automatically send one e-mail to the customer (It's OK), and one to me (I don't want this).
Sorry for my english, I hope I was clear.
Thank you for your help!
I have one different problem, but it connects to e-mails, and I didn't wanted to open a new topic
Is it possible to disable to send the order update letters to my e-mail address? I mean, I want to send them only to the costumer, and not to me. When I update one purchase, and I check in the box to "Notify Customer:" then the system automatically send one e-mail to the customer (It's OK), and one to me (I don't want this).
Sorry for my english, I hope I was clear.
Thank you for your help!
@avvici: yes, error log shows nothing related to SMTP or mail. The only error I get with SMTP is when a new user registers and presses continue: then the following error message:
Notice: Error: RCPT TO not accepted from server! in /home/<myserver>/public_html/ocstore/system/library/mail.php on line 614
Notice: Error: RCPT TO not accepted from server! in /home/<myserver>/public_html/ocstore/system/library/mail.php on line 614
Here is the code in which displayes your error from within the mail class:
Most folks that get that error solve it by switching to MAIL in admin settings. However, you are still getting nothing when using MAIL. You did say that you tested PHP Mail on your server and it worked. That really doesn't mean much because you could in theory be testing on an older version of PHP Mail with older code. Make sure your host is using the latest version of PHP Mail.
Second Theory: That error could also pop up because of IP ADDRESS issues or firewall issues.
Code: Select all
if ((substr($reply, 0, 3) != 250) && (substr($reply, 0, 3) != 251)) {
trigger_error('Error: RCPT TO not accepted from server!');
exit();
}
Second Theory: That error could also pop up because of IP ADDRESS issues or firewall issues.
Ok, thanks.
Not sure what version of PHP Mail host is using, but PHP version is 5.2.17 if that helps. My host insists that php mail will work if it is used correctly.
Re IP address or firewall issues: how would I explore these further?
Not sure what version of PHP Mail host is using, but PHP version is 5.2.17 if that helps. My host insists that php mail will work if it is used correctly.
Re IP address or firewall issues: how would I explore these further?
I knew It is a different problem, but please help me. Is it even possible to turn it off? I receive these unwanted e-mails since I updated from 1.5.1.xkisist1 wrote:Hello!
I have one different problem, but it connects to e-mails, and I didn't wanted to open a new topic
Is it possible to disable to send the order update letters to my e-mail address? I mean, I want to send them only to the costumer, and not to me. When I update one purchase, and I check in the box to "Notify Customer:" then the system automatically send one e-mail to the customer (It's OK), and one to me (I don't want this).
Sorry for my english, I hope I was clear.
Thank you for your help!
I searched the setting in the admin panel, but I see no options to disable it.
Bu default, it shouldn't be doing that. Order History (notify customer emails) are only sent to customer. If you are getting one to your admin email as well then something is FUBAR in your install.
The function you want to pay attention to is public function addOrderHistory($order_id, $data) {
The function you want to pay attention to is public function addOrderHistory($order_id, $data) {
Who is online
Users browsing this forum: No registered users and 382 guests