Results 1 to 5 of 5

Thread: JavaScript, Forms, and Email Oh My!

  1. #1
    Join Date
    Nov 2004
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Post JavaScript, Forms, and Email Oh My!

    I have a form and am trying to get it so the user can e-mail me an attatchment but i need it to go to my email because i don't have my comp on 24/7 and i don't want to use outlook.What's the code?

  2. #2
    Join Date
    Sep 2004
    Posts
    66
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hmmm.... like this?

    Code:
    <form action="mailto:you@yourdmainhere.com" method="post" enctype="text/plain" >
    FirstName:<input type="text" name="FirstName">
    Email:<input type="text" name="Email">
    <input type="submit" name="submit" value="Submit">
    </form>

  3. #3
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I was going to submit similar, but I think it's the attachment thing we really need to crack... I can't really think of anything right now.

    cr3ative
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

  4. #4
    Join Date
    Sep 2004
    Posts
    66
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I added the <input type="file"> to it, but i can't think of how the get the file, not the path, in the e-mail

  5. #5
    Join Date
    Nov 2004
    Location
    Paris, France
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I don't think there's a way and it's probably for the best, think of what a Virus could do with an instruction like that, mhm ?

Bookmarks

Posting Permissions

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