I am getting a few instances where users are replying to the personal message notification email. As admin I am receiving their email reply rather than the author of the PM.
I am thinking if the personal message only contained a notification and not the actual message it would force the user to go to the forum to read it and thus eliminate this problem.
Is this possible or any other suggestions?
Open /Sources/Subs-Post.php file.
Find this line:
$mailmessage = str_replace(array('SUBJECT', 'MESSAGE', 'SENDER'), array($subject, $message, un_htmlspecialchars($from['name'])), $txt[562]);
And replace it with:
$mailmessage = str_replace(array('SUBJECT', 'SENDER'), array($subject, un_htmlspecialchars($from['name'])), $txt[562]);
Then open /Themes/default/languages/PersonalMessage.english.php
Find this line:
$txt[562] = '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';
Replace it with:
$txt[562] = '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. To reply the personal message, please login to forums.';
I have this problem often.
Why doesn't the option: "Don't allow post text in notifications?"
in Admin 'Features and Options' control personal messages too? I would have expected it to control personal messages as well as post replies, or have a separate option to control personal messages.
Thanks for posting the code change. I'll do that, but would love this control to be in the next standard release. Does 2.0 have this control?
I think that option is only for posts in the forum and not PMs.
I don't think I saw an option to do this in SMF 2.0 either. It might have to be a feature or mod request if it's not.
This would be a great feature or mod so please consider this a reqest for this to be a standard feature.
On the other hand, why only allow the control postings, why not PM's too? My users seem to reply via email to both equally, even when the email to them says 'do not reply to this email'.
Too bad there wasn't a 'no reply allowed' attribute for received emails. :) But that's a different thread.
It's best to disable the option to show the message in the emails. That way it will force them to login to see the PM. I think the code edit provided will do the trick.
If you want to have this feature (no replying to emails), you can request this at the Mod Request board or even Feature Request board.
Yes, I already edited one of my forums with this edit and it seems to be working perfectly.
I'm giving it more time before I make the changes to another forum install.