Best DataType Set when looping through a list of emails

Best DataType Set when looping through a list of emails

Question: When using the For Each activity to loop through a list of MailMessage variables, how should the TypeArgument property be set?

  •   System.Core.Mail.MailMessage
  •   System.Net.Mail.MailMessage
  •   System.Mail.MailMessage
  •   System.Web.Mail.MailMessage

Answer

Option B is correct.

This is the datatype for all emails.

Please subscribe to Cameron's YouTube channel