I am trying to send a form with attachaments that will automatically send an email out to a specific person with the attachments that have been added to the form. I am able to send the email out with the office365.sendemail function but when I try to write the code for the attachments I get a error.
The attachements are usually an excel file and a pdf file. (Usualy 2 attachments), and are stored in the sharepoint list.
Can someone help me out with this issue.