Re: send email is sending multiple emails.

Kyle York <[email protected]> Mon, 02 Feb 2004 08:20:12 -0800
Newsgroups gmane.mail.neomail.general
Message-ID <[email protected]>
Greetings,

Wade Arnold wrote:
> I have a user that depends on neomail. Ever time he sends an email it  
> shoots out 1- 11 copy's of it to the recipient.  The strange thing is  
> that some times it sends three copy's, five copy's, etc. Over the last  
> couple months the maximum numbers that it sends has been increasing.  
> The user that LOVES neomail and thinks it's the greatest thing ever. He  
> has 24 folders and keeps 15 megs of email on neomail. Unfortunately I  
> doubt it is possible to get him to move onto a hard client like  
> outlook, evolution, etc. He is on the road all the time and just uses  
> hotel computers. Any ideas on how to resolve this? I hate to tell him  
> to delete his mail account and start over.

I've seen this a couple of times, and *each* time it has been a simple 
case of impatience -- the user clicks ``send,'' doesn't get an immediate 
response, and so continues to click ``send.''

One solution is to include a hidden field, form_id, that is incremented 
during the session. If it doesn't match what's in the session file, the 
result is discarded. No, I've not bothered to do this for neomail, but 
have done so for other projects on which I've worked.

Another option would be a popup that is created when send is clicked, 
then goes away when the screen is refreshed. Unfortunately, I've not 
enough experience with javascript o know if this is possible or how to 
do it.

-- 
Kyle A. York
Sr. Subordinate Grunt



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn