Results 1 to 2 of 2

Thread: Attach Entire Folder Contents to Email?

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Apr 2010
    Posts
    78

    Attach Entire Folder Contents to Email?

    Hey guys. I simply need to attach an entire folder to email. Is this possible using vb.net, or do you have to specify files? I have searched Google and can only find results related to VBA which don't fall within the right context.

    To clarify, I am planning on specifying a path (string variable) then using " Dim attachFile As New Attachment(path)" to try to email the folder. The thing is, I just don't know the syntax for the path itself. If I set the path to C:\fftest\, it won't email the whole folder (or anything at all, error occurs). Same with C:\fftest. File permissions are fine.

    Thanks!
    Ryan
    Last edited by WRCREX; May 14th, 2013 at 04:37 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width