Home › Forums › WordPress Private Messages with File Attachment › Message sent successfully Email notification couldn't be sent
- This topic has 7 replies, 3 voices, and was last updated 6 years, 5 months ago by
nmedia.
-
AuthorPosts
-
May 9, 2019 at 7:33 pm #12263
Tyler
ParticipantHello,
How do I get the email notifications to work? When I send a message from the My Account > Orders page, it will send the message through the plugin, but it will not send an email notification. Here is the error:
Message sent successfully
Email notification couldn’t be sentPlease tell me how to fix this.
Thanks,
Tyler.May 10, 2019 at 11:04 am #12268Jane Brian
KeymasterHI TYLER
Thanks for reaching us, we have received your request. We will get back to you as soon as possible to response your question.May 10, 2019 at 2:42 pm #12269Tyler
ParticipantHello Jane,
Thank you. I was able to get it to send an email notification after changing the accounts I was testing with. It seems that notifications do not send when an admin user places a test order and then sends messages to the order from the front and back end of the site (Same user account for the test order and for the wp-admin.)
Now I have a different issue:
How do I get the email notification to include the message that was sent? I can use the %sender_name% and %sender_email% tags, but there isn’t a %message% tag that I can find. I have attached a screenshot with the email notification that I get.
– http://prntscr.com/nmuwmnThank you for your help!
Best Regards,
TylerMay 11, 2019 at 3:55 am #12271nmedia
KeymasterHi Tyler,
please paste following filter (code) inside your theme’s functions.php at the end:
add_filter('wooconvo_message_text', 'wooconvo_change_message_text', 10, 2); function wooconvo_change_message_text( $message, $is_admin) { $message = 'Here Your Desired Message Text'; return $message; }NOTE: Change message as per your need.
May 15, 2019 at 3:57 pm #12297Tyler
ParticipantHello again,
I need the notification email to include the message that the user wrote in the chat box. How can I do that?
Thank you.
TylerMay 20, 2019 at 12:50 pm #12318nmedia
KeymasterHi Tyler,
we have option in our plugin upon your request. Now message can be sent in email using template var
%message_text%You need to add
%message_text%inside email message inside options. Make sure you have latest version installed.May 22, 2019 at 5:03 pm #12338Tyler
ParticipantHello NMedia,
That works for me. Thank you for providing the solution.
I hope you have a good day 🙂
Best Regards,
TylerMay 25, 2019 at 12:49 pm #12363nmedia
KeymasterCheers.
-
AuthorPosts
- You must be logged in to reply to this topic.