Rabies is very rare in domestic pets and foaming at the mouth is not diagnostic for this disease. If you have any concerns about rabies contact your veterinarian.
Foaming at the mouth signifies nausea or a taste reaction. This nausea may be why you cat is not eating in the first place. Medical causes of nausea and vomiting need to be ruled out with bloodwork and if appropriate imaging (x-rays and ultrasound). Common problems include kidney disease, liver disease, diabetes, hyperthyroidism, and cancer.
Next if the teeth are truly the problem your cat needs to undergo anesthesia, have an oral exam, dental cleaning, and abscessed teeth extracted.
Have your cat re-examined by a veterinarian. Once a cause is found it can be treated. In the mean time your veterinarian can treat symptomatically with anti-emetics, pain medication if appropriate (abscessed teeth are painful), and appetite stimulants.
Foaming at the mouth signifies nausea or a taste reaction. This nausea may be why you cat is not eating in the first place. Medical causes of nausea and vomiting need to be ruled out with bloodwork and if appropriate imaging (x-rays and ultrasound). Common problems include kidney disease, liver disease, diabetes, hyperthyroidism, and cancer.
Next if the teeth are truly the problem your cat needs to undergo anesthesia, have an oral exam, dental cleaning, and abscessed teeth extracted.
Have your cat re-examined by a veterinarian. Once a cause is found it can be treated. In the mean time your veterinarian can treat symptomatically with anti-emetics, pain medication if appropriate (abscessed teeth are painful), and appetite stimulants.