Im using aspsmartmail and this code:
Attachments.Add Server.MapPath("C:\files\file.zip")
attatches the file "file.zip" to a email.
Suppose I have lots of files in dir "files", and dont know their name and/or the physical path but still want them to be emailed to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.