Results 1 to 3 of 3

Thread: selecting file/attaching file to web.aspx email form

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Hendersonville , NC
    Posts
    260

    selecting file/attaching file to web.aspx email form

    Having trouble figuring out what control to use for this simple little email form in my web application.
    Using System.Web.Mail so no problem there. My problem is being able to select a file from my(or the eventual user) machine to attach to the email.

    help??

    gollnick
    William E Gollnick

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,222

    Re: selecting file/attaching file to web.aspx email form

    You're creating the email on the server so basically you need to upload a file from the client to the server as you would for any other upload, then attach it to the email on the server as a local file.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Hendersonville , NC
    Posts
    260

    Re: selecting file/attaching file to web.aspx email form

    Ya.. was afraid of that. I can allow the user to browse their own folders to find what they want to send, then upload that to a set folder on the sderver, attach and send that, then turn around and delete that same item on the server...

    thanks

    gollnick
    William E Gollnick

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