public void Send(MyMailMessage myMessage) { MailMessage message = new MailMessage(emailFrom, String.Join(", ", myMessage.SendTo)); message.Subject = myMessage.Subject; message.Body = myMessage.Message; }
public void Send(MyMailMessage myMessage) { Logger.Write("Sending email"); Client.Send(myMessage); }