Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MailAddress Address = new MailAddress();
- Address.DisplayName = String.Format("{0},{1}", EmailInfo.Lastname.ToString(), EmailInfo.FirstName.ToString());
- Address.Address = EmailInfo.Email.ToString();
- MailMessage Msg = new MailMessage();
- Msg.To.Add(Address);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement