SMS: Electromagnetism and quantum theory