Dangerous chemicals in plastic dishware

Patient: What are the dangers of using plastic for hot liquids?for example, can I have hot coffee in a plastic mug, or will dangerous toxins seep into the coffee because of the temperature? also, does the type of plastic make a difference?I understand this is a complex question, but I would appreciate if you could answer it or direct it to someone who can. thank you.