rob84 Posted January 20, 2014 Share Posted January 20, 2014 Hello. I'm trying to understand how can an e-mail sent to shop owner when someone write a comment on a product, using the default PS comment/review module. I tried to add in productcomments.php after line 540 in about: $comment->save(); this code: $template_name = 'approvazione_commento'; $title = "New comment to approve"; $to = "[email protected]"; $toName = "To name"; $from = "[email protected]"; $fromName = "From Name"; Mail::Send($template_name, $title, $to, $toName, $from, $fromName); But no mail is sent. How should be work ? Thanks. Link to comment Share on other sites More sharing options...
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 account
Already have an account? Sign in here.Sign In Now