Send SMTP Mail: No compiled code to run
error BC30561: ‘Attachment’ is ambiguous, imported from the namespaces or types ‘Microsoft.SharePoint.Client, System.Net.Mail’. At line 16
it seems like saying the parameter - attachment have a difficulty to identify from the 2 imported places. but i don’t really understand how to make this issue gone.