Attachments in send SMTP email

Hey all,

I’m using latest version of mail activities that is 1.24.2
And I want to send email with an attachment using send SMTP email. My attachment path is of type string but I cannot add attachment in this activity because it only holds the value of type IResource

Please help how can I add the attachment of string type

Hi, you click on the ‘+’ symbol which will give you below options and you can choose File Paths as below highlighted

That will allow you to pass the array of string variables

Hope this helps you

Thanks,
Srini

1 Like

Hi @Steven_ds_55
Try below expression
New List(Of IResource) From {LocalResource.FromPath(“Filepath”)}

Thanks

1 Like

@Steven_ds_55