logo
WSN Links PHP Directory Software
Features Showcase Reviews Demos Purchase Manual Support
 

Email sending twice

Version: 4.1.30


Email sending twice
babrees
Expert
Avatar

Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 258
Total Posts: 819
Posted 02/22/08 - 02:00 AM:
quote post
#1
I did a reciprocal link check and then checked the boxes of those I wanted to send an email notice to. All appeared fine and most logged in to update their link. One simply wrote to me and I updated it for her.

I then cleared all suspected links. But then the one that I had updated received another email notice - I didn't authorise it and Timed reciprocal verification is NOT selected.

Is there any way that we can get the system to send me a copy of all emails it sends out? This is not the first time I have an irate member because they keep receiving duplicated auto emails.
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 49
Total Posts: 5539
Posted 02/24/08 - 12:40 PM:
quote post
#2
The email log shows you what's sent. Getting 50,000 emails a day in your inbox on a large site doesn't seem like it'd be more useful. Putting a cc: line in the email headers box should get you a copy of everything though, I suppose.

After what interval was this second notice?
babrees
Expert
Avatar

Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 258
Total Posts: 819
Posted 02/24/08 - 01:24 PM:
quote post
#3
Paul wrote:

After what interval was this second notice?




Probably a day
babrees
Expert
Avatar

Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 258
Total Posts: 819
Posted 03/12/08 - 11:24 PM:
quote post
#4
Site: http://www.thedogscene.co.uk
V. 4.1.32

Hi Paul, did you ever look into this problem?

I have just sent an email to all members and some members received it several times. This did not happen to all members. I don't know full figures. I have my email address down for some members and some I only received once, some I received SIX times!

I also had another complaint from somebody who is subscribed to be notified of all new links - she received TEN copies of one.


Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 49
Total Posts: 5539
Posted 03/13/08 - 05:08 AM:
quote post
#5
I've subscribed myself in several different ways, and have recieved duplicates on occasional days on a busy forum. I have a triple copy here apparently caused by three different IPs hitting the site within a three second period.

I already have a write lock on the table, but that isn't enough when it's read three times at once. A read lock *might* do the trick, though it could cause serious performance issues. You can test it though... open includes/commonfuncs.php and replace
$db->locktables("$emailtable WRITE, $linkstable WRITE, $categoriestable WRITE, $memberstable WRITE");

with
$db->locktables("$emailtable READ, $linkstable READ, $categoriestable READ, $memberstable READ");


(Not sure why others besides $emailtable are being locked, actually.)

Since you have a non-suexec configuration, you'll need to delete the file and then reupload it actually.
babrees
Expert
Avatar

Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 258
Total Posts: 819
Posted 03/13/08 - 06:01 AM:
quote post
#6
Thanks Paul, I'll give it a try.

But I do find it hard to believe that it could be caused by a very busy site as this site only gets around 500 uniques a day.
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 49
Total Posts: 5539
Posted 03/13/08 - 11:26 PM:
quote post
#7
Well, have a look in phpmyadmin. Run the query SELECT * FROM wsnlinks_email WHERE `to` = 'some@email.com' ORDER BY timesent DESC;

where some@email.com is an email address which recently got duplicates. If the timesent column shows nearly the same second for multiple copies while the IP column shows different IPs, that seems to indicate a bunch of people hitting the site at once.
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

Admin Control Panel

   
Home    |    Features    |    Showcase    |    Reviews    |    Demos    |    Purchase    |    Manual    |    Support
© 2008 Paul Knierim. All rights reserved.