dopetalk

Technology => SMF Forum Code Modifications => Topic started by: Chip on April 26, 2016, 06:31:52 AM

Title: the PM Notification Email manual mod.
Post by: Chip on April 26, 2016, 06:31:52 AM
THIS WAS WRITTEN TO STOP PEOPLE REPLYING TO PM NOTIFICATION EMAILS - the PM gets lost and the reply emails queue up in the forum's webmaster id.

with help from Illori from SMF, this line in ..Themes/default/languages/PersonalMessage.english.php is what needs to be modified.

Code: [Select]
$txt['pm_email'] = 'You have just been sent a personal message by SENDER on ' . $context['forum_name'] . '.' . "\n\n" . 'IMPORTANT: Remember, this is just a notification. Please do not reply to this email.' . "\n\n" . 'The message they sent you was:' . "\n\n" . 'MESSAGE';
the MESSAGE is what puts the text into the email. so modify it as you need and test sending a message to see what the email will look like.

so I did this:

Code: [Select]
$txt['pm_email'] = 'You have just been sent a personal message by SENDER on ' . $context['forum_name'] . '.' . "\n\n" . 'IMPORTANT: Remember, this is just a notification. Please do not reply to this email.';
the SMF ticket is at:  http://www.simplemachines.org/community/index.php?topic=545196 (http://www.simplemachines.org/community/index.php?topic=545196)

tested and works fine.
SimplePortal 2.3.6 © 2008-2014, SimplePortal