Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Will this work?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01686685
Message ID:
01686694
Views:
49
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform