z80CPU Posted November 23, 2017 Share Posted November 23, 2017 (edited) I am testing what happens on registering a new customer. Customer does not receive a confirmation e-mail. I have a Code Snippet: Manage Hooks -> Code Snippets -> Send registration confirmation email = checked as active, contains settings and php code. Is there any way on registration to be sent mentioned above: registration confirmation email ? Thanks! Edited November 24, 2017 by z80CPU mistake Quote Link to comment Share on other sites More sharing options...
bsmither Posted November 23, 2017 Share Posted November 23, 2017 I am sure there is. Is the snippet you have installed this one?https://www.cubecart.com/extensions/code-snippets/send-registration-confirmation-email There is also this:https://www.cubecart.com/extensions/plugins/registration-email-manager Quote Link to comment Share on other sites More sharing options...
z80CPU Posted November 23, 2017 Author Share Posted November 23, 2017 Yes, the snippet I have installed is exactly: https://www.cubecart.com/extensions/code-snippets/send-registration-confirmation-email Quote Link to comment Share on other sites More sharing options...
bsmither Posted November 23, 2017 Share Posted November 23, 2017 But it is not working? Probably should go with the other plugin. That snippet lacks sufficient merit. Quote Link to comment Share on other sites More sharing options...
z80CPU Posted November 24, 2017 Author Share Posted November 24, 2017 This https://www.cubecart.com/extensions/code-snippets/send-registration-confirmation-email does not work unfortunately - it is checked as active snippet, but when happens an event of registration a test-customer there is no registration confirmation email as I expected .... Quote Link to comment Share on other sites More sharing options...
bsmither Posted November 24, 2017 Share Posted November 24, 2017 (edited) That snippet relies on the enviroment's installation of PHP having a direct connection to a server-installed mailer (like SendMail) so that the PHP function mail() will work. Not every server environment has a SendMail-like utility installed. The correct approach is to use CubeCart's incorporation of the PHPMail library. I suggest removing that snippet and go for the plugin I mentioned. Edited November 24, 2017 by bsmither Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.