Email notification on Private messages
Using 2.2.RC1, but applies to all other versions
Hi Girls, Hi Guys...
have a slight problem since the 2.1 Version, thought to ask about it here...
If a User gets a Mail notification about a private message, sometimes a user answers the E-Mail directly so the message goes to me (Admin).
So I'm faced with naked pictures of guys sending them to they girls...
hehe... just kidding...
in dashboard theres only one Mail for everything... if I change it to "noreply@mysite.com" witch leads to nothing, could it affect other system messages? not shure what else is hooked to this mail address...
is it possible to change the text of the notification mail, for example so just the Link is visible and a Message like "DO NOT ANSWER THIS MAIL DIRECTLY" ?
Thanx in advance...
Comments
You can change the content of the email messages via locales.
http://vanillaforums.org/discussion/23562/tutorial-how-to-customize-your-emails
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
Great, ThX, hgtonight...
For all others:
"aplications/dashboard/locale/YOUR-LANGUAGE/site_core.php"
$Definition['EmailStoryNotification'] = '
and Change your Text there...%1$s
is the placeholter for the Mail Subject (about)%3$s
is the Text of the MessageLast question:
should I change
$Definition['EmailNotification']
also? I assume thats the 1st notification of an Private Message?There is no need to change the core files and you do not do yourself any favor!
Replace your first steps with:
conf/locale.php
and put<?php
in the first line$Definition['EmailStoryNotification'] = 'Subject: %1$s, Body: %3$s';
as the second line...
And if there is a %1$s and a %3$s, shouldn't there be a %2$s, also?
Wow... nice, RJ...
and of course... forgot the
%2$s
The
%2$s
stands for the link to the private Message...ThX, RJ... i'll change it to your suggestion...
If you want them to be able to reply you can try
http://vanillaforums.org/addon/replybyemail-plugin
grep is your friend.
ThX, x00, I saw this plugin and decided against it, cause it's an external service..
But the Idea is great...