daily pastebin goal
45%
SHARE
TWEET

Untitled

a guest Feb 20th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. catch (SmtpException oSMTPException)
  2. {
  3.     string sFailedEmailIds = string.Empty;
  4.     string[] sMailids = null;
  5.  
  6.     ((System.Net.Mail.SmtpFailedRecipientsException)(oSMTPException)).
  7.         InnerExceptions[0].FailedRecipient
  8. }
  9.    
  10. string sFailedEmailIds = String.Join(",", ((System.Net.Mail.SmtpFailedRecipientsException)(oSMTPException)).InnerExceptions.Select(x=>x.FailedRecipient));
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top