Dear professor I am so sorry that I can not be in your class this afternoon,because I have a lab to do this afternoon.I apologize that. Sincerely, your name.
Dear professor: I'm vey sorry that I can't be in your class this afternoon, because I have a lab to do this afternoon. I apologize that. Sincerely, (your name)