Information générale
Catégorie:
Codage, syntaxe et commandes
>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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement