protected void OnSent(MailMessageSentEventArgs e) { EventHandler<MailMessageSentEventArgs> temp = Sent; if (temp != null) temp(this, e); }