SMS: Outline of electromagnetic theory