FolderPath is a variable which holds the path where the attachment should be saved key a variable that contains the folder name that should it create.
Is this way correct can a save attachment file be given like this else only the path is to be given
1 Like
You need to give only the folder path . It will save all the attachments to that folder
This might be helpful to you.
SaveMailAttachments :Saves the mail message attachments to the specified folder. If the folder doesn’t exists, it is created. If no folder is specified, the downloads are saved in the project folder. Files in the specified folder with the same name as the attachments are overwritten.
cheers
Happy learning
3 Likes