Dreamweaver File Upload in a Form

Discussion in 'HTML & Website Design' started by bric002, Jul 9, 2007.

  1. #1
    I know I can set a form to upload a file to the server using the file field. Can it also be used to send the file in an email form to an email address? I don't want the files on the server, but to be sent to a user.

    Thanks for any help.
     
    bric002, Jul 9, 2007 IP
  2. cabron

    cabron Peon

    Messages:
    324
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You will need a smtp account first and to connect thru that and send the email.

    I think there are quite a few scripts that already do that, so you might want to do a search 1st.
     
    cabron, Jul 9, 2007 IP
  3. bric002

    bric002 Active Member

    Messages:
    47
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    63
    #3
    I had found some code to add to my form, but it kept rejecting my form on the server end. So is this mainly a server settings issue?

    THanks for your post.
     
    bric002, Jul 9, 2007 IP
  4. haruko764

    haruko764 Peon

    Messages:
    25
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Make sure your server has a service called sendmail installed. Sendmail is what allows PHP scripts to send mail through SMTP.
     
    haruko764, Jul 10, 2007 IP