Webmastersite.net
Register Log In

Email sending twice

Comments on Email sending twice

babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Feb 22, 2008 - 2:00 AM:

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
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Feb 24, 2008 - 12:40 PM:

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

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Feb 24, 2008 - 1:24 PM:

Paul wrote:

After what interval was this second notice?




Probably a day
babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Mar 12, 2008 - 11:24 PM:

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
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Mar 13, 2008 - 5:08 AM:

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

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Mar 13, 2008 - 6:01 AM:

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
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Mar 13, 2008 - 11:26 PM:

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
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.