Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- string to = "user@example.com";
- string from = "user@example.com";
- string title = "Test";
- string body = "Test Email";
- Type t1 = Type.GetType("System.Net.Mail.MailMessage");
- Object test = Activator.CreateInstance(t1, new object[] { to, from, title, body });
Add Comment
Please, Sign In to add comment