devilsown Posted October 9, 2013 Share Posted October 9, 2013 I didn't have any issues before upgrading the store. But now i am getting back hundreds of emails daily. If its auto generated by prestashop its coming back with mean streak. anyone got a clue on how to fix this. Link to comment Share on other sites More sharing options...
rwbsklep Posted October 9, 2013 Share Posted October 9, 2013 I have the same. Please correction of an error or sending information to what to do with this error. Link to comment Share on other sites More sharing options...
maximo88 Posted October 9, 2013 Share Posted October 9, 2013 Me the same here Link to comment Share on other sites More sharing options...
Brekel Posted October 9, 2013 Share Posted October 9, 2013 Same here. Looks like it tries to send mail to "[email protected] <[email protected]>" instead of "[email protected]". Hope someone can fix this soon! Link to comment Share on other sites More sharing options...
iMarfer Posted October 9, 2013 Share Posted October 9, 2013 Me also, waiting for solution!! Link to comment Share on other sites More sharing options...
benjamin utterback Posted October 9, 2013 Share Posted October 9, 2013 Hello all, please make a forge report here http://forge.prestashop.com I will also check with the team about this issue. Just to clarify, are all of you having this problem after the upgrade to 1.5.6. If so, please let me know your Server Configuration and the PrestaShop version you upgraded from. 1 Link to comment Share on other sites More sharing options...
Brekel Posted October 9, 2013 Share Posted October 9, 2013 Yes I only started experiencing this after upgrading in (test environment) from 1.5.2 to 1.5.6 What in particular do you need to know about the server config? Link to comment Share on other sites More sharing options...
benjamin utterback Posted October 9, 2013 Share Posted October 9, 2013 It would be In your backoffice/advance parameters/configuration information Link to comment Share on other sites More sharing options...
Brekel Posted October 9, 2013 Share Posted October 9, 2013 Server information Server information: Linux #1 SMP Tue Apr 16 15:40:06 EDT 2013 x86_64 Server software version: Apache/2 PHP version: 5.3.27 Memory limit: 128M Max execution time: 30 Database information MySQL version: 5.5.33 MySQL engine: InnoDB Tables prefix: ps_ Mail configuration Mail method: You are using the PHP mail function. Link to comment Share on other sites More sharing options...
iMarfer Posted October 9, 2013 Share Posted October 9, 2013 Información del servidor Información del servidor: Linux #1 SMP Fri Jul 12 15:02:22 EEST 2013 x86_64 Versión del servidor web: Apache Versión de PHP: 5.3.26 Límite de memoria: 128M Tiempo Máximo de ejecución: 30 Configuración de la base de datos Versión de MySQL: 5.1.70-cll Motor MySQL: MyISAM Prefijo de las tablas: ps_ Configuración la tienda Versión de PrestaShop: 1.5.6.0 Enlace de su tienda: Deleted Tema actual: default Configuración de email Modo de envío de emails: Utiliza la función email() de PHP No problems before upgrading from version 1.5.5 Regards. Link to comment Share on other sites More sharing options...
markaussie Posted October 9, 2013 Share Posted October 9, 2013 Hi All, Workaround I switched from PHP mail method to SMTP mail method and no more Malformed address error. Link to comment Share on other sites More sharing options...
Brekel Posted October 9, 2013 Share Posted October 9, 2013 Just tried SMTP and that is still generating a mallformed address for me here. Note that sending a test email works correctly, but placing an actual order (tried PayPal & Bank Wire) generates the malformed address error. 1 Link to comment Share on other sites More sharing options...
markaussie Posted October 9, 2013 Share Posted October 9, 2013 (edited) I was getting Malformed errors when email came from the Mail Alert Module alerting me of new order. Emails to me about new orders (bank wire, Stripe Payment) - Malformed error Emails to customers (Order process) - no Problems Test mail - no Problems Changed to SMTP option now no malformed errors that come from Mail alert Module (Version 2.4) If similar issue maybe check the Mail alert module - reset or version number. I had also just changed Server/Hosting company as well so above may not be related to your issue. Edited October 9, 2013 by markaussie (see edit history) 1 Link to comment Share on other sites More sharing options...
Brekel Posted October 9, 2013 Share Posted October 9, 2013 Indeed I'm also using the Mail Alerts module. Uninstall/Reinstall didn't seem to improve. Removing the mail address from it's configuration and adding it, also adding a different one, no change for me. Btw, I'm only using it's "Receive a notification when an order is placed" option. Link to comment Share on other sites More sharing options...
gcorbesier Posted October 10, 2013 Share Posted October 10, 2013 In 1.5.5.0 it was working, after upgrading to 1.5.6.0 it stopped. I am using PHP to send mails. Test mail is working, when changing order statusses mails are NOT sent. Link to comment Share on other sites More sharing options...
Ibiza2 Posted October 10, 2013 Share Posted October 10, 2013 (edited) This temporary solution works for me to get emails out In /classes/Mail.php Add this line above // Do not crash for this error... $to_name = '"' . $to_name . '"'; It's not a proper solution as I believe that bug is somewhere else, but it helps for now... Edited October 10, 2013 by Ibiza2 (see edit history) Link to comment Share on other sites More sharing options...
gcorbesier Posted October 10, 2013 Share Posted October 10, 2013 (edited) I have some additional info: For my case it looks like orders CREATED after the update to 1.5.6.0 are properly sending status update messages. Orders that already existed don't send messages. I will do further testing, but mentioning this maybe other people have the same issue. Edited October 10, 2013 by gcorbesier (see edit history) Link to comment Share on other sites More sharing options...
Popular Post benjamin utterback Posted October 10, 2013 Popular Post Share Posted October 10, 2013 Hey guys, make sure to have a backup (How to Manually Back Up your PrestaShop Database and Files) Then, replace your classes/mail.php with this file attached Here is the concerning github fix for reference https://github.com/PrestaShop/PrestaShop/commit/789911184b72a2765a6faf39652506057350a021 I already went and uploaded the file in this post so just backup and replace your mail.php and let me know how it works. Thanks! mail.php 15 Link to comment Share on other sites More sharing options...
Brekel Posted October 10, 2013 Share Posted October 10, 2013 Thank you very much, that indeed seems to fix all my issues! Link to comment Share on other sites More sharing options...
peranders Posted October 10, 2013 Share Posted October 10, 2013 A message that you sent contained one or more recipient addresses that wereincorrectly constructed: [email protected] <[email protected]>: malformed address: <[email protected]> may not follow [email protected] This address has been ignored. There were no other addresses in your message, and so no attempt at delivery was possible. ------ This is a copy of your message, including all the headers. ------ Did you guys get this in your inbox? I have uploaded the fix and hope for the best. Link to comment Share on other sites More sharing options...
vontanix Posted October 10, 2013 Share Posted October 10, 2013 Thanks Alot ! that realy helps, im happy helping for error: Mail failure - malformed recipient address A message that you sent contained one or more recipient addresses that were incorrectly constructed: thanks Link to comment Share on other sites More sharing options...
peranders Posted October 11, 2013 Share Posted October 11, 2013 It works for me too. Link to comment Share on other sites More sharing options...
abondares Posted October 11, 2013 Share Posted October 11, 2013 (edited) Mail alerts moduče not working for me. I have 6 e-mail adresses in mail alerts. Also the name of the product in cart does not show. Problems started after upgrading from 1.5.5. to 1.5.6. Server information: Linux #1 SMP Fri May 10 08:43:19 UTC 2013 x86_64 Server software version: Apache/2.2.16 (Debian) PHP version: 5.3.3-7+squeeze17 Memory limit: 128M Max execution time: 63 Database information MySQL version: 5.1.66-0+squeeze1 MySQL engine: MyISAM Tables prefix: ps_ Store information PrestaShop version: 1.5.6.0 Shop URL: http://www.mojaljekarna.hr/ Current theme in use: leocame Mail configuration Mail method: You are using your own SMTP parameters. SMTP server: mail.mojaljekarna.hr SMTP user: Defined SMTP password: Defined Encryption: off Port: 25 **** After resseting the mail alerts module, it works. Still have the problem with showing of the name of the product in the cart. Edited October 11, 2013 by abondares (see edit history) 1 Link to comment Share on other sites More sharing options...
gcorbesier Posted October 11, 2013 Share Posted October 11, 2013 Ok, the Mail.php fix from github is working for me too... :-) Link to comment Share on other sites More sharing options...
lucifer1976 Posted October 11, 2013 Share Posted October 11, 2013 (edited) for me work thank you benjamin Edited October 11, 2013 by lucifer1976 (see edit history) Link to comment Share on other sites More sharing options...
iMarfer Posted October 12, 2013 Share Posted October 12, 2013 (edited) Yes, it's working for me too. Thank you very much, Benjamin. Edited October 12, 2013 by ChinoCudeiro (see edit history) Link to comment Share on other sites More sharing options...
BuckWierd Posted October 13, 2013 Share Posted October 13, 2013 Works for me also!Thanks a lot! Link to comment Share on other sites More sharing options...
rafetaru Posted October 13, 2013 Share Posted October 13, 2013 It works, Thanks Just say that you have to copy this file in /classes and then rename to Mail.php Link to comment Share on other sites More sharing options...
Cashregal Posted October 14, 2013 Share Posted October 14, 2013 Thanks very much. Working perfect. Link to comment Share on other sites More sharing options...
slobodanz Posted October 14, 2013 Share Posted October 14, 2013 Thank you. Work for me! Link to comment Share on other sites More sharing options...
XJR100 Posted October 16, 2013 Share Posted October 16, 2013 Updated file, and in customer service seems work fine. But after customer placed order got 3 mails - "New Order" - 2 malformed mails (suppose they are for customer - "Payment accepted" and "new order") Partitialy fixed. Link to comment Share on other sites More sharing options...
XJR100 Posted October 16, 2013 Share Posted October 16, 2013 Can anyone test, do you also have malformed mails after fix applied when customer place an order, or it's only on my site? Link to comment Share on other sites More sharing options...
harry1970 Posted October 16, 2013 Share Posted October 16, 2013 it works for me thx Link to comment Share on other sites More sharing options...
keitaro Posted October 16, 2013 Share Posted October 16, 2013 hello this has fixed my issue to. however when sending an email it adds in the title random char example Your message has been correctly sent #ct17 #tcKoswBzJ4VAv2 does anyone have a clue as to why? it seems to be script related? Link to comment Share on other sites More sharing options...
XJR100 Posted October 17, 2013 Share Posted October 17, 2013 here is part of returned message: ------------------------------------------------------------- A message that you sent contained one or more recipient addresses that were incorrectly constructed: =?UTF-8?B?w5DCpMOQwrvDkMK4w5HCgiDDkMKdw5HCg8ORwoDDkMK8w5HCg8ORwoXDkMKw?=\n =?UTF-8?B?w5DCvMOQwrXDkcKCw5DCvsOQwrI=?= <[email protected]>\n ------------------------------------------------------------- Link to comment Share on other sites More sharing options...
jowie Posted October 17, 2013 Share Posted October 17, 2013 It works!! thanks!! Link to comment Share on other sites More sharing options...
luxnux Posted October 27, 2013 Share Posted October 27, 2013 i applied, but on my test, as a seller no problem, can receive. But as a buyer, no receive the notif or invoice. mine is fresh 1.5.6 Link to comment Share on other sites More sharing options...
luxnux Posted October 27, 2013 Share Posted October 27, 2013 i applied, but on my test, as a seller no problem, can receive. But as a buyer, no receive the notif or invoice. mine is fresh 1.5.6 i don't know, it's works now it self Link to comment Share on other sites More sharing options...
luxnux Posted October 27, 2013 Share Posted October 27, 2013 i don't know, it's works now it self so sorry, i just made sure. and the email is not order confirmation, it's awaiting wire payment. Link to comment Share on other sites More sharing options...
tuverano.com Posted October 27, 2013 Share Posted October 27, 2013 (edited) I have the same problem. I have copied the file Mail.php in the class directory but it not work. Any idea? Information the system: http://www.tuverano.com/phpinfo.php Mail configuration: Mail method: You are using the PHP mail function. Edited October 27, 2013 by tuverano.com (see edit history) Link to comment Share on other sites More sharing options...
luxnux Posted October 28, 2013 Share Posted October 28, 2013 (edited) update : it works now. Edited October 28, 2013 by luxnux (see edit history) Link to comment Share on other sites More sharing options...
xEpyonx Posted October 28, 2013 Share Posted October 28, 2013 (edited) update : it works now. Great, so what did you do to get it to work, because mine still isn't working either... Installed the new mail module v2.5, replaced Mail.php, customers get their mails properly, but I don't get my copy in my mailbox. When I send a test mail through the backoffice I receive a test mail, so it should work... Edited October 28, 2013 by xEpyonx (see edit history) 1 Link to comment Share on other sites More sharing options...
XJR100 Posted October 28, 2013 Share Posted October 28, 2013 here is part of returned message: ------------------------------------------------------------- A message that you sent contained one or more recipient addresses that were incorrectly constructed: =?UTF-8?B?w5DCpMOQwrvDkMK4w5HCgiDDkMKdw5HCg8ORwoDDkMK8w5HCg8ORwoXDkMKw?=\n =?UTF-8?B?w5DCvMOQwrXDkcKCw5DCvsOQwrI=?= <[email protected]>\n ------------------------------------------------------------- I have not tested this scenario, but seems when when customer name is in cyrillic (or maybe other non-latin characters?) it comes as "incorrectly constructed". Link to comment Share on other sites More sharing options...
Margis Posted October 28, 2013 Share Posted October 28, 2013 Benjamin's solution from post #18 worked for me too. I receive notifications about new orders again. Many thanks! Hey guys, make sure to have a backup (How to Manually Back Up your PrestaShop Database and Files) Then, replace your classes/mail.php with this file attached Here is the concerning github fix for reference https://github.com/PrestaShop/PrestaShop/commit/789911184b72a2765a6faf39652506057350a021 I already went and uploaded the file in this post so just backup and replace your mail.php and let me know how it works. Thanks! Before trying this solution I deleted mailalerts folder from server completely, then installed Mail Alerts module version 2.5 from here http://www.prestashop.com/forums/topic/280410-prestashop-156-problem-mail-alerts/?view=findpost&p=1423405 and restored my language folders in mailalerts/mails/, but notifications still were not coming. Link to comment Share on other sites More sharing options...
tuverano.com Posted October 29, 2013 Share Posted October 29, 2013 Can you help me, please? I have copied the file Mail.php in the class directory but it not work. Information the system: http://www.tuverano.com/phpinfo.php Mail configuration: Mail method: You are using the PHP mail function. Link to comment Share on other sites More sharing options...
Bergum Posted November 4, 2013 Share Posted November 4, 2013 (edited) Fixed my problem. EXEPT I am not getting any mail when new orders are registred. Thank*s Edited November 15, 2013 by Bergum (see edit history) Link to comment Share on other sites More sharing options...
arjanwit Posted November 6, 2013 Share Posted November 6, 2013 Bugfix works for me too! Link to comment Share on other sites More sharing options...
AJES Posted November 7, 2013 Share Posted November 7, 2013 (edited) After a long research, I just want to say thank you! It works for me! Edited November 7, 2013 by AJES (see edit history) Link to comment Share on other sites More sharing options...
atop Posted November 7, 2013 Share Posted November 7, 2013 Can you help me, please? Just like tuverano.com this fix didn't work for me! Tuverano, did you work this out? I have copied the file Mail.php in the class directory but it did not work. Mails to customer are ok Testmail works ok Order Confirmationmail to owner: still the malformed mail failure Configuration: ServergegevensServergegevens: Linux #1 SMP Wed Aug 28 17:19:38 UTC 2013 x86_64 Server softwareversie: Apache PHP versie: 5.3.27 Geheugenlimiet: 74M Maximale uitvoeringstijd: 30 Database informatieMySQL versie: 5.5.33-31.1-log MySQL engine: InnoDB Tabel prefix: ps_ WinkelgegevensPrestashop versie: 1.5.6.0 Winkel URL: http://www.stickerxpress.nl/shop/ Huidig gebruikte thema: warehouse E-mail configuratieMail methode: U gebruikt de PHP mail() functie. Link to comment Share on other sites More sharing options...
XJR100 Posted November 7, 2013 Share Posted November 7, 2013 Mails to customer are okTestmail works ok Order Confirmationmail to owner: still the malformed mail failure Can you please check if customer's name have some non-latin letters (cyrillic or äüö and similar)? I have the problem when some customers place orders it works fine, but those, who have non-latin letters in customer name have malformed mails. Link to comment Share on other sites More sharing options...
atop Posted November 7, 2013 Share Posted November 7, 2013 Hi XJR100 Thanks for your reply. No "non-latin letters (cyrillic or äüö and similar)" in custome name. I am still in testing mode and upgraded to 1.5.6 I used my own name as a test customer with just "normal" letters in it. Link to comment Share on other sites More sharing options...
XJR100 Posted November 7, 2013 Share Posted November 7, 2013 Hi XJR100 Thanks for your reply. No "non-latin letters (cyrillic or äüö and similar)" in custome name. I am still in testing mode and upgraded to 1.5.6 I used my own name as a test customer with just "normal" letters in it. I've updated mail.php file as advised in this topic, PS is 1.5.6, tested with my name (all Latin) and no problems with me, but with some customers it comes as malformed. Noticed that they have non-latin letters in their names. Link to comment Share on other sites More sharing options...
tuverano.com Posted November 7, 2013 Share Posted November 7, 2013 I have not the solution yet, but I'm investigating 1 Link to comment Share on other sites More sharing options...
tuverano.com Posted November 7, 2013 Share Posted November 7, 2013 I use google smtp server. It works for me now. * Outgoing Mail (SMTP) Server: smtp.gmail.com* Use Authentication: Yes* Use Secure Connection: Yes (SSL)* Username: Your account GMail* Password: Your password GMail* Port: 465 Link to comment Share on other sites More sharing options...
fresh_fx59 Posted November 8, 2013 Share Posted November 8, 2013 (edited) I use google smtp server. It works for me now. * Outgoing Mail (SMTP) Server: smtp.gmail.com * Use Authentication: Yes * Use Secure Connection: Yes (SSL) * Username: Your account GMail * Password: Your password GMail * Port: 465 Hello. Where did you get Authentication settings? I have no such settings in 1.5.6( Advanced Parameters E-mail )... I figure it out in such a way 1. Create new mailbox in cPanel on my host 2. Use host's mail settings in Advanced Parameters > E-mail 3. For customers messages are sent from my gmail account. But I have cyrillic names in my shop and in "To:" field in message customer could see =?UTF-8?B?w5DCkMOQwrrDkcKBw5DCtcOQwr3DkMK+w5DCsiDDkMKQw5DCu8OQwrXDkMK6?= =?UTF-8?B?w5HCgcOQwrXDkMK5IMOQwp3DkMK4w5DCusOQwr7DkMK7w5DCsMOQwrXDkMKy?= =?UTF-8?B?w5DCuMORwoc=?= <[email protected]> Mail alert about new order still don't work(module is up to date). It is not good point. Any ideas how could solve it? Edited November 10, 2013 by fresh_fx59 (see edit history) Link to comment Share on other sites More sharing options...
atop Posted November 8, 2013 Share Posted November 8, 2013 I use google smtp server. It works for me now. * Outgoing Mail (SMTP) Server: smtp.gmail.com * Use Authentication: Yes * Use Secure Connection: Yes (SSL) * Username: Your account GMail * Password: Your password GMail * Port: 465 I tried the smtp from google but this also did not work. I also tried the smtp from my own server. This works just like the php(mail) function. I still get no order confirmation mail to the shop-owner. I went back to a backup version 1.5.4.1 where everything works fine and wait until there is a new version were this is solved. Thank you for your response. Link to comment Share on other sites More sharing options...
jbrickner Posted November 10, 2013 Share Posted November 10, 2013 Worked for me. Link to comment Share on other sites More sharing options...
Pronux Posted November 11, 2013 Share Posted November 11, 2013 doesn't work for me tried all solutions mentioned here and possible combinations, but still get no Emails about new orders Link to comment Share on other sites More sharing options...
DeanM Posted November 14, 2013 Share Posted November 14, 2013 Also had this problem. The update of Mail.php fixed it. Thank you! 1 Link to comment Share on other sites More sharing options...
nitemask Posted November 26, 2013 Share Posted November 26, 2013 hello this has fixed my issue to. however when sending an email it adds in the title random char example Your message has been correctly sent #ct17 #tcKoswBzJ4VAv2 does anyone have a clue as to why? it seems to be script related? Did anyone ever find a fix for this as I have the same issue? Link to comment Share on other sites More sharing options...
lasantha Posted November 28, 2013 Share Posted November 28, 2013 Hi everybody, I tried to replace mail.php, but still its not working for me on 1.5.6 Link to comment Share on other sites More sharing options...
Bergum Posted November 29, 2013 Share Posted November 29, 2013 What i did, was disabling the mail module, changing tha mail adress, enabling it again and putting in the right adress again. Worked for me. Link to comment Share on other sites More sharing options...
mismandos Posted November 30, 2013 Share Posted November 30, 2013 Great! Thank you very much Benjamin! It works perfectly! Link to comment Share on other sites More sharing options...
alcaraz Posted December 5, 2013 Share Posted December 5, 2013 It works perfectly now! Thanks for the fileBest Regards Link to comment Share on other sites More sharing options...
anop72 Posted December 6, 2013 Share Posted December 6, 2013 Hey guys, make sure to have a backup (How to Manually Back Up your PrestaShop Database and Files) Then, replace your classes/mail.php with this file attached Here is the concerning github fix for reference https://github.com/PrestaShop/PrestaShop/commit/789911184b72a2765a6faf39652506057350a021 I already went and uploaded the file in this post so just backup and replace your mail.php and let me know how it works. Thanks! It's work! Link to comment Share on other sites More sharing options...
BoKr Posted December 9, 2013 Share Posted December 9, 2013 Anop, are you still on 1.6.0 or already on 1.6.1. I am asking cause I am planning to install the latest 1.6.1 and it could be that this has already been fixed. Anyhow, it would be more than as a matter of course that Mr. Benjamin would have informed us I suppose. Link to comment Share on other sites More sharing options...
korin Posted December 13, 2013 Share Posted December 13, 2013 Hi everybody, Well I have the same problem as some around here : updated my version of Mail Alerts module to 2.5, changed the Mail.php file in classes/ with the new one, disabled the module, reinitialized it, changed the email, saved, changed it back again, and I still can't get any mail when there's an order placed!!! This is pretty annoying! Can anyone help me out with this? I do not wish to change from PHP mail to SMTP mail. Many thanks in advance. Link to comment Share on other sites More sharing options...
bside2234 Posted December 13, 2013 Share Posted December 13, 2013 Updating to the latest version of PS worked for me. It's been a few weeks now and it seems to be working fine. Link to comment Share on other sites More sharing options...
Pronux Posted December 13, 2013 Share Posted December 13, 2013 (edited) @korin: Have the same problem in one shop. Which PHP version do you have? Edited December 13, 2013 by Pronux (see edit history) Link to comment Share on other sites More sharing options...
Optimus_Sam Posted December 18, 2013 Share Posted December 18, 2013 Hey guys, make sure to have a backup (How to Manually Back Up your PrestaShop Database and Files) Then, replace your classes/mail.php with this file attached Here is the concerning github fix for reference https://github.com/PrestaShop/PrestaShop/commit/789911184b72a2765a6faf39652506057350a021 I already went and uploaded the file in this post so just backup and replace your mail.php and let me know how it works. Thanks! This fixed worked for me too! Thanks a million Benj! Link to comment Share on other sites More sharing options...
shahriar Posted January 18, 2014 Share Posted January 18, 2014 (edited) Prestashop ver 1.5.6.1 , i replaced not working! is it any thing i have to check on server ? after i removed your mail.php and again upload original mail.php got this error Notice: Undefined index: MailCore in /var/www/classes/Autoload.php on line 115 Warning: require(/var/www): failed to open stream: No such file or directory in /var/www/classes/Autoload.php on line 115 Fatal error: require(): Failed opening required '/var/www/' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/classes/Autoload.php on line 115 Edited January 18, 2014 by shahriar (see edit history) Link to comment Share on other sites More sharing options...
Q321 Posted January 27, 2014 Share Posted January 27, 2014 Thanks for your help! I change this mail.php and now it is working and I´m very happy! Link to comment Share on other sites More sharing options...
frankit Posted February 14, 2014 Share Posted February 14, 2014 Hi, same issue here, started from a brand new 1.5.6.0. Every mail works except the ones directed to the shop merchant when someone use the contact page, and the ones sent from mailalert module (I've tested only the restock one directed to the customer, don't use the other ones) that fails with the malformed address error. The point is that I cannot risk to have any kind of malfunction about mails on my production site, so I need to test the fixed mail.php class locally. I'm a bit stucked here cause I can't reproduce on my test system this problem that I have only on the live site which is configured with the php mail function, while the test one uses smpt. I thought that installing sendmail and switch the config on my test site would result showing the same error, and so I could test the fixed mail.php class on my test environement before upload it on my production site. But even using mail() function with sendmail, from my local snapshot every mail works as a charm with the original mail.php class. Can you guys could help me understand why? for what I see, the only relevant thing that changes between the two Mail.php files is that with the original class, the $to_name variable (at least before the "try{} catch()") contains the mail address, while with the fixed class, the $to_name var is empty (or null) and I don't get what's the point, I don't even understood in which way the address is malformed cause from the error mail, it seems ok. Anyone could be so kind to explain to me a lil better? thanks in advance. Link to comment Share on other sites More sharing options...
artmaster Posted February 16, 2014 Share Posted February 16, 2014 I used method by KORIN, and Email Alert work! 1. Replace Mail.php 2. Reset Module Mail Alert 3. Set Off Module Mail Alert 4. Set On Module Mail Alert 5. Edit email, save Work! My Prestashop ver. 1.5.6.2, Mail Alert Module 3.2 SMTP via Yandex.ru Link to comment Share on other sites More sharing options...
simontoft Posted March 20, 2014 Share Posted March 20, 2014 I used method by KORIN, and Email Alert work! 1. Replace Mail.php 2. Reset Module Mail Alert 3. Set Off Module Mail Alert 4. Set On Module Mail Alert 5. Edit email, save Work! My Prestashop ver. 1.5.6.2, Mail Alert Module 3.2 SMTP via Yandex.ru Me too, same problem with no New Order notification emails (customer notifications were all ok). Did the above and now everything working fine again. Yes! Prestashop: 1.5.6.1 Mail Alert ver: 3.2.4 PHP mail Link to comment Share on other sites More sharing options...
HairMaker.Gr Posted March 30, 2014 Share Posted March 30, 2014 (edited) Great, so what did you do to get it to work, because mine still isn't working either... Installed the new mail module v2.5, replaced Mail.php, customers get their mails properly, but I don't get my copy in my mailbox. When I send a test mail through the backoffice I receive a test mail, so it should work... Same problem and for me in 1.5.3.1 after update the module in 3.2.4 with No New Order notification emails Edited March 30, 2014 by hairmania (see edit history) Link to comment Share on other sites More sharing options...
BillMartin Posted April 14, 2014 Share Posted April 14, 2014 see my solution here: http://www.prestashop.com/forums/topic/280410-prestashop-156-problem-mail-alerts/page-5 Link to comment Share on other sites More sharing options...
igorsavinkin Posted September 28, 2016 Share Posted September 28, 2016 This has not helped me. PS v.1.6.1.6. When quick checkout forms an order system does send an mail, yet upon successful payment the (PAYMENT RECEIVED order status) mail is not sent. Link to comment Share on other sites More sharing options...
peranders Posted September 28, 2016 Share Posted September 28, 2016 Have you checked the PS error log? Link to comment Share on other sites More sharing options...
redalice734 Posted December 6, 2016 Share Posted December 6, 2016 (edited) Can't seem to grab the file. Client is still using old version (since literally every update she had before broke & wound up costing her $$$ to have me fix). If anyone still has a copy can you please re-post to this thread? Edited December 6, 2016 by redalice734 (see edit history) Link to comment Share on other sites More sharing options...
Zenona Posted January 24, 2017 Share Posted January 24, 2017 Someone can reupload this file on another server or github maybe? Cuz i can't download it :/ Link to comment Share on other sites More sharing options...
vietnamsouvenir Posted May 12, 2017 Share Posted May 12, 2017 Hello I also have problem with email alert 2.2. When I have a order, no email sent to my customers to confirm. I use PrestaShop™ 1.4.8.2 Please help me. Thank you Link to comment Share on other sites More sharing options...
ptolemy Posted May 13, 2017 Share Posted May 13, 2017 Please help me. I can't download file Mail.php. Anyone can send it to my email : [email protected] Link to comment Share on other sites More sharing options...
ptolemy Posted May 13, 2017 Share Posted May 13, 2017 Please help me. I can't download file Mail.php. Anyone can send it to my email : [email protected] Link to comment Share on other sites More sharing options...
arteunporro Posted May 29, 2017 Share Posted May 29, 2017 same here Link to comment Share on other sites More sharing options...
Recommended Posts