An ns_set
is a data structure used for a lot of things in AOLserver. It is a key/value structure that allows multiple entries per key, so you can use it for html headers and database rows, and in this case email headers.
ns_set put
is used to add a new key/value pair to the set.