email Message-ID: What is a good algorithm to create this?
François Granger
francois.granger at free.fr
Mon Apr 2 18:28:41 EDT 2001
Sheila King <sheila at spamcop.net> wrote:
> What is a good way for my script to generate Message-IDs? I know it usually
> has something to do with random numbers or strings
I did this:
Message-ID = '<' + str(long(time.time())) + str(whrandom.randint(0,
16000000)) + email + '>'
--
Une faq de frj: http://faq.jardin.free.fr/, près de l'encyclopédie
http://nature.jardin.free.fr/
MacPython beginners http://francois.granger.free.fr/MacPython/faq/
More information about the Python-list
mailing list