Please use e.AddAttachment instead of AddAttachments.
AddAttachments adds all files in a folder, so the parameter should be a folder path, not a file.
If you want to add a file attachment, please use AddAttachment.
and please also use full file path instead of only file name.
                      Edited by user
                       
5 months ago
 | 
Reason: Not specified