andrefadila Posted February 13, 2014 Share Posted February 13, 2014 Hello, this is my first Prestashop. I've been using Prestashop 1.5.6.1 and Mail Alerts module v3.2. Of course with Mail Alerts, I am trying to send email for the seller when order was happened. At the first, I am set the Contact Shop with my email (*@live.com). Mail Alerts worked for the seller and customer too. Then I am changed the Contact Shop with my hosting email (*@domain.com), the seller wasn't got order email anymore but the customer still got the order email. I am not sure what else need to configure? Sorry for my english, thanks in advance. Link to comment Share on other sites More sharing options...
vekia Posted February 13, 2014 Share Posted February 13, 2014 it can be related to the fact, that your shop emails are treated as a spam. double check SPAM folder on seller mailbox Link to comment Share on other sites More sharing options...
andrefadila Posted February 13, 2014 Author Share Posted February 13, 2014 it can be related to the fact, that your shop emails are treated as a spam. double check SPAM folder on seller mailbox There is no mail in my SPAM folder mod. Have another solution? Link to comment Share on other sites More sharing options...
wjohn Posted February 13, 2014 Share Posted February 13, 2014 Hello there, I have the same issue. Upgraded to version 1.5.6.2 . Mail Alert version 3.2 (tried 2.8) as well. Test mail is working. When a customer place an order, create account, or the product is out of stock... no email alerts. Module is hooked to all right locations (Customer Account, Out of Stock, etc.... ) Any help?? Link to comment Share on other sites More sharing options...
wjohn Posted February 13, 2014 Share Posted February 13, 2014 OK I have resolved the problem. I found the solution in PrestoChange here it is: There are a few reasons why Prestashop cannot send emails from your server, the most common ones are: "From" field doesn't match your domain.Incompatible additional headers.Below are solutions to both: In /tools/swift/Swift/Message.php line #79Change $this->setFrom(""); To $this->setFrom("[email protected]"); In /tools/swift/Swift.php after line 370 if (!($has_reply_to = $message->getReplyTo())) $message->setReplyTo($from); Add the following code: if (!$has_reply_to[0])$message->setReplyTo($from->getAddress()); Now try sending a contact message.... If it still doesn’t work, make the following change: In /tools/swift/Swift/Plugin/MailSend.php line # 159Add $params = ""; Link to comment Share on other sites More sharing options...
andrefadila Posted February 13, 2014 Author Share Posted February 13, 2014 OK I have resolved the problem. I found the solution in PrestoChange here it is: There are a few reasons why Prestashop cannot send emails from your server, the most common ones are: "From" field doesn't match your domain.Incompatible additional headers. Below are solutions to both: In /tools/swift/Swift/Message.php line #79 Change $this->setFrom(""); To $this->setFrom("[email protected]"); In /tools/swift/Swift.php after line 370 if (!($has_reply_to = $message->getReplyTo())) $message->setReplyTo($from); Add the following code: if (!$has_reply_to[0])$message->setReplyTo($from->getAddress()); Now try sending a contact message.... If it still doesn’t work, make the following change: In /tools/swift/Swift/Plugin/MailSend.php line # 159 Add $params = ""; Thanks wjohn, I am tried your solution but still not worked here. When I placed an order, the customer still got the order email but there is no alert email for seller. 1 Link to comment Share on other sites More sharing options...
wjohn Posted February 14, 2014 Share Posted February 14, 2014 (edited) I have seen the same issue, when I was using the same email account for sending and receiving email notifications from prestashop store. Try using 2 different email accounts for sending and receiving (one for Email alert module & another for Advanced Parameters > E-Mail) But I am not sure it was the cause of the issues in my store. I have tried many options and finally got it worked. Edited February 14, 2014 by wjohn (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted February 15, 2014 Share Posted February 15, 2014 do the test and then check the mail queue on hosting server. Also it's good to speak to your hosting company about outbound mail issue, but only if you are using the domain's email account. Typically I avoid email issues like the plague, and while my tips might not work out for you know that I feel your pain. This can be a huge soul sucking issue. Link to comment Share on other sites More sharing options...
andrefadila Posted February 15, 2014 Author Share Posted February 15, 2014 I have seen the same issue, when I was using the same email account for sending and receiving email notifications from prestashop store. Try using 2 different email accounts for sending and receiving (one for Email alert module & another for Advanced Parameters > E-Mail) But I am not sure it was the cause of the issues in my store. I have tried many options and finally got it worked. Yeah, thanks wjohn. I will find another solution for this. do the test and then check the mail queue on hosting server. Also it's good to speak to your hosting company about outbound mail issue, but only if you are using the domain's email account. Typically I avoid email issues like the plague, and while my tips might not work out for you know that I feel your pain. This can be a huge soul sucking issue. Actually, my test email (Advance Parameters > Email) was worked with the hosting email but the Mail Alert wasn't worked. Of course, I have a time limit for this problem. Thanks El Patron Link to comment Share on other sites More sharing options...
andrefadila Posted February 15, 2014 Author Share Posted February 15, 2014 Finally, the mail alerts is working again. I am trying to replaced the classes/Mail.php with file from this post : http://www.prestashop.com/forums/topic/280613-solved-upgraded-to-156-and-every-email-sent-malformed-recipient-address/?do=findComment&comment=1412400 Thanks all. 2 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