HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Private Message email template location?
Hi
I've tried grepping and also checking the translation file but cant find the email template for the private message.
EmailStoryNotification seems not being used in for sending private message.
Sample template im receiving:
User1 sent you a message
<body of message>
Reply: https:/xxxxxx
Tagged:
0
Comments
You can read about Vanillas email templates and how to override (not over-write!) them in the docs: https://docs.vanillaforums.com/developer/framework/email/
Hi @R_J sorry for the confusion. Let me explain further.
when someone sends a private message. you also get notified via email. however I dont want to include the content of the message in the email.
I wanted to remove the actual message "Yea boy" from the email. leaving my members to click the link to see the message.
There is no such thing like a mail template for activity X and another mail template for activity Y. If some event happens that initiates an activity, that activity is queued and then a notification is sent and an email.
All emails use one and the same template and only subject, body and button text are set based on the activity.
If you want to change some of them, you need to hook into the mail sending process and change what is passed to the mail template. That can be achieved with a plugin (or in a themehooks file) like that:
OH! Thanks a lot @R_J for this ! Problem solved. :)