bulkmail_key_code bulkmail_id user_idWhat it does:
Creates a bulkmail key code, which is of the formatDefined in: /web/philip/tcl/bulkmail-utils.tclA B C
Source code:
append output $bulkmail_id "A" $user_id "B" [ns_time]
# For good measure, we'll calculate the checksum after making the letters
# lowercase. This could confuse the stupid attacker who's trying to
# figure out what that number is. Not much else. We have to be sure
# to do this when decoding, too.
append output "C" [bulkmail_simple_checksum [string tolower $output]]
return $output