Another problem could be that it's choking or gagging. In snakes, choking on a foreign object or food creates excess saliva. (http://www.anapsid.org/rti.html)

Either way, I think you mos def need to visit your veternarian.