>Hi there,
>
>one functionality of my application ist to receive emails and process them. Sometimes the provider sends these mails twice and I want to prevent that these are processed.
>I think about saving to values in a table, the first line of the mail and a checksum of the mail body calculates by sys(2007).
>Before processing the content I would look up these values in the table and if found, skip this mail.
>Does this make sense or are there better ways?
>
>Thanks in advance
>
>Thomas
I would not check if the email is a duplicate or not. I agree there will be times/cases when two emails will be sent. But you would have a good explanation: "You sent two emails, therefore there are to postings in the application. Make sure not to email twice and you will not have a problem." :)
IMHO, this will simplify your task and avoid any "legitimate" complaints.
HTH
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham