You are right I dont know what break ponts are but I have provideda snippet of code below to show how I was trying to approach a solution.
Below is another code snippet that I am trying however the error message I get is
"Variable 'myHtmlMessage' is used beofre it has been assigned a value
a Null reference exception could result at runtime"
If Not String.IsNullOrEmpty(Dts.Variables("Attachments").Value.ToString) = "" Then
myHtmlMessage = New MailMessage(Dts.Variables("From").Value.ToString(), Dts.Variables("To").Value.ToString(), Dts.Variables("Subject").Value.ToString(), Dts.Variables("Body").Value.ToString())
End If
If String.IsNullOrEmpty(Dts.Variables("Attachments").Value.ToString) = False Then
myHtmlMessage.Attachments.Add(New Attachment(Dts.Variables("Attachments").Value.ToString))
End If