Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Email notification on Private messages

Dr_SommerDr_Sommer Dr. of tender Programing ;) ✭✭
edited November 2015 in Vanilla 2.0 - 2.8

Using 2.2.RC1, but applies to all other versions

Hi Girls, Hi Guys... :awesome:

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... :anguished:
hehe... just kidding... :lol:

  1. 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... :wink:

  2. 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... :heart:

Comments

  • Options
    hgtonighthgtonight ∞ · New Moderator

    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.

  • Options
    Dr_SommerDr_Sommer Dr. of tender Programing ;) ✭✭
    edited November 2015

    Great, ThX, hgtonight... :heart:

    For all others:

    1. Open "aplications/dashboard/locale/YOUR-LANGUAGE/site_core.php"
    2. find $Definition['EmailStoryNotification'] = ' and Change your Text there...
    3. %1$s is the placeholter for the Mail Subject (about)
    4. %3$sis the Text of the Message

    Last question:

    should I change $Definition['EmailNotification'] also? I assume thats the 1st notification of an Private Message?

  • Options
    R_JR_J Ex-Fanboy Munich Admin

    There is no need to change the core files and you do not do yourself any favor!

    Replace your first steps with:

    1. Create a conf/locale.php and put <?php in the first line
    2. Add $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? ;)

  • Options
    Dr_SommerDr_Sommer Dr. of tender Programing ;) ✭✭

    Wow... nice, RJ... :heart:

    and of course... forgot the %2$s :lol:

    The%2$s stands for the link to the private Message... :sunglasses:

    ThX, RJ... i'll change it to your suggestion... :+1:

  • Options

    If you want them to be able to reply you can try
    http://vanillaforums.org/addon/replybyemail-plugin

    grep is your friend.

  • Options
    Dr_SommerDr_Sommer Dr. of tender Programing ;) ✭✭

    ThX, x00, I saw this plugin and decided against it, cause it's an external service..
    But the Idea is great... :+1:

Sign In or Register to comment.