Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-10-10 12:49:10

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,370
GitHub

Send comment notification without including the comment body

Hey dudes.
Another potentially dumb question coming up. I’ve got my Textpatterns to alert me via email when comments are left on articles. About 60% appear to be spammy, despite the spam protection being set up correctly – this is not the problem in this case.

What’s happening is the emails are being sent correctly, but as the contents of the email contain the comment body, which in turn contains spam triggers, the notifications are being stopped by Gmail as spam.

Before I look into writing a plugin/patch to offer the option of sending notifications without the comment body, has this already been done/is it possible?

Thanks in advance.

Offline

#2 2010-10-10 16:44:49

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Send comment notification without including the comment body

If it’s for your own use only, why not just tell Gmail this isn’t spam?

Offline

#3 2010-10-11 07:13:55

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,370
GitHub

Re: Send comment notification without including the comment body

Yes, good point. One of the problems with this approach is the whitelisting/allowlisting of my own email address sending emails to my own email address – this is a common trait shared with a lot of spam emails (sender = recipient), so it’s not an ideal solution.

I’ll investigate. Thanks, Els – appreciate your reply.

Offline

#4 2010-10-11 17:00:14

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Send comment notification without including the comment body

gaekwad wrote:

One of the problems with this approach is the whitelisting/allowlisting of my own email address sending emails to my own email address – this is a common trait shared with a lot of spam emails

You don’t have to use that. You can filter for instance that emails with [your site name] in the subject are never sent to Spam.

Offline

#5 2010-10-11 18:26:46

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,370
GitHub

Re: Send comment notification without including the comment body

Ah, even better – that saves me a lot of work. Thanks again, Els :)

Offline

Board footer

Powered by FluxBB