General information
Category:
Coding, syntax & commands
>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?
>>ounds like a good approach to me. You would probably need to ensure the "duplicate" message >>body doesn't have anything like a unique ID, date/time stamp etc.
Hi Al,
think I will save the processing date as an optional possibility because when the emal is sent twice, it will happen within 24 hours.
Best regards
Thomas
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only