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

Title: Send an Email
Post 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
Title: Send an Email
Post by: DW on June 09, 2007, 02:16:47 am
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
Title: Send an Email
Post by: DW on June 09, 2007, 04:20:28 am
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
Quote
// 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
Title: Send an Email
Post by: idealizm on August 15, 2007, 02:39:00 am
Quote from: "DW"
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!!