ListMailPRO Email Marketing Software Forums
ListMailPRO Email Marketing Software Forums => General Help & How-To => Topic started by: jo on June 08, 2007, 01:33:46 am
-
I've been using LM for months without any errors but my server was upgraded from PHP4 to 5 a couple of days ago.
Now when I go to send an email I get this error message -
"Please wait while email is queued to send... Duplicate entry '5e4fc94db8f39b5b4fcdacc9e80e1741' for key 1"
Entry 'number' changes on each attempt.
Can anyone help? I need to send something out urgently.
Thanks
-
Greetings,
This is strange... Are there items in queue, or does this happen when queueing up a message with nothing queued?
Please submit a report and I will investigate:
http://listmailpro.com/support?t=other
Regards
-
The 'unique' calculation for the 32 character id for each message was based on microtime(). Apparently your server sends messages faster than 1 per microsecond.. !
I have modified your calculation code to that indicated on php.net here:
http://php.net/uniqid
// better, difficult to guess
$better_token = md5(uniqid(rand(), true));
Duplicates should be far, far more rare, if ever... I'll have to consider how to improve this process. To save time I didn't want to check each ID for a duplicate value but I might have to to prevent even rare occurrences of duplicates...
Regards
-
Apparently your server sends messages faster than 1 per microsecond.. !
I am assuming this speed is pretty easy to achieve when you're sending to a "test list" with local addresses delivered through localhost? ;)
Thanks for the fix - I needed it too!!