capace19 Posted June 7, 2012 Share Posted June 7, 2012 translated by google I'm Italian, but in my forum I could not give me an answer, I trust in the English forum. I am using prestashop with linux hosting dominiofaidate.it, when I opened the 'e-commerce are not able to send mail to mail to customers. The strange thing 'that the orders I receive emails regularly. -I tried to send mail via php, send perfectly. -SMTP does not work at all. -I tried these changes with which many have solved (except me) In the file / tools / swift / Swift / Message.php line # 79 change the text $ this-> setFrom (""); with $ this-> setFrom ("[email protected]"); [email protected] course where you're going to replace with your email that must exist and must be owned that domain (ie on a domain you can not have an email pippo.com type [email protected] to understand) In the file / 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 ()); In the file / tools / swift / Swift / Plugin / MailSend.php at line # 159 which is empty add $ params = ""; -I have tried other cms type wordpress and they regularly send emails. thanks in advance for the help. Luca Link to comment Share on other sites More sharing options...
Recommended Posts