Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: aegersz on April 18, 2016, 09:35:53 AM

Title: PM Notification emails: a MUCH bigger warning not to reply to this ?
Post by: aegersz on April 18, 2016, 09:35:53 AM
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 ?
Title: Re: PM Notification emails: a MUCH bigger warning not to reply to this ?
Post by: Illori on April 18, 2016, 09:37:56 AM
remove the body of the PM from the email?
Title: Re: PM Notification emails: a MUCH bigger warning not to reply to this ?
Post by: Shambles on April 18, 2016, 09:46:14 AM
Also, there's a mod (I think) that can set a reply-to address for the notification, which you can make fictitious.
Title: Re: PM Notification emails: a MUCH bigger warning not to reply to this ?
Post by: aegersz on April 24, 2016, 10:25:31 PM
ok, maybe this is a better approach: how do I set the defaults to NOT send Notifications ?, please.
Title: Re: PM Notification emails: a MUCH bigger warning not to reply to this ?
Post by: aegersz on April 25, 2016, 03:33:51 AM
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 ?
Title: Re: PM Notification emails: a MUCH bigger warning not to reply to this ?
Post by: 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.
Title: Re: PM Notification emails: a MUCH bigger warning not to reply to this ?
Post by: aegersz on April 25, 2016, 05:22:01 AM
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 ?
Title: Re: PM Notification emails: a MUCH bigger warning not to reply to this ?
Post by: Illori on April 25, 2016, 05:50:55 AM
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";
Title: Re: PM Notification emails: a MUCH bigger warning not to reply to this ?
Post by: aegersz on April 25, 2016, 06:11:05 AM
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 !
Title: Re: PM Notification emails: a MUCH bigger warning not to reply to this ?
Post by: aegersz on May 04, 2016, 08:23:29 AM
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.