I can't stop people replying to notification emails and am trying to make it more obvious to NOT reply.
how do you deal with it on your forum ?
remove the body of the PM from the email?
Also, there's a mod (I think) that can set a reply-to address for the notification, which you can make fictitious.
ok, maybe this is a better approach: how do I set the defaults to NOT send Notifications ?, please.
to word my question better, in what source do you set the defaults for these PM Notifications ?
I need to set a value in "...index.php?action=profile;area=pmprefs;u=2" and also in "...index.php?action=profile;area=notification;u=2
if you can please tell me, then i will just set them (the defaults) OFF by hard-coding them.
is that a good idea, btw ?
i dont think it is a good idea to completely disable them. some people will never return to the forum to check their PMs if they dont get an email. why not just do what i suggested and remove the body of the message from the template? that is the easiest solution to the problem.
Quote from: Illori on April 25, 2016, 05:14:09 AM
i dont think it is a good idea to completely disable them. some people will never return to the forum to check their PMs if they dont get an email. why not just do what i suggested and remove the body of the message from the template? that is the easiest solution to the problem.
good point.
ok then, i'll see how it looks ... what source do i change, please ? ... is it a simple one line change ?
this line in PersonalMessage.english.php is what needs to be modified.
$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.
one option you can change the text to is this.
$txt['pm_email'] = 'You have just been sent a personal message by SENDER on ' . $context['forum_name'] . '.' . "\n\n";
thank you, MUCH ! ... but i kept a bit more of the line, as you can see:
$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.';
EDIT/later: it works fine.
i like it -- a nice tight three line message, well spaced.
Solved !
afterwards:
i also installed an email autoresponder to the "webmaster" (email user that gets the erroneously replied emails) to reply with en error message email.
i used the 'vacation' install (CentOS 6.5 "vacation-1.2.7.0-7.puias6.x86_64) after configuring /etc/yum.repos.d/puias-client.
i recommend installing such an email auto-responder in conjunction with this manual code change.