Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Aug 2004
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Help With form submitting to email address

    I am trying to get a form to submit directly to my email adress. I am using dreamweaver MX and I can get it to submit to email, but not the way I would like.
    The way I have it currently set up is when you click on submit it brings up a pop up box that says:

    This form is being sumbitted using email.
    Submitting this form will reveal your email adress to the recipient and will send the form data without encryptin it for privacy.
    Than it says ok or cancel.
    If you hit ok it, sends from the current open email in outlook express.
    How can I send straight from the site to a email adress? I guess I want to know is there a Java script that I can do this with? Any help would be appriceated.

  • #2
    Senior Coder A1ien51's Avatar
    Join Date
    Jun 2002
    Location
    Between DC and Baltimore In a Cave
    Posts
    2,717
    Thanks
    1
    Thanked 94 Times in 88 Posts
    If you do not want to use outlook, then you need to use a serverside language such as PHP, ASP, .NET, CGI to do it. JavaScript can not do it.

    If you are using a free host, then you most likely can not send mail.

    Eric
    Tech Author [Ajax In Action, JavaScript: Visual Blueprint]

  • #3
    New to the CF scene
    Join Date
    Aug 2004
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I am not using a free host, I use globat, I was hoping there was an easy way to do it but I guess I will have to spend time with it. Thanks for your help.

  • #4
    Kor
    Kor is offline
    Red Devil Mod Kor's Avatar
    Join Date
    Apr 2003
    Location
    Bucharest, ROMANIA
    Posts
    8,478
    Thanks
    58
    Thanked 379 Times in 375 Posts
    How can I send straight from the site to a email adress? I guess I want to know is there a Java script that I can do this with?
    Nope, as a client-side language, javascript can not do that. You must use a server-side application (php, asp, pearl, etc.) according to the permission you get from your host.
    KOR
    Offshore programming
    -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*


  •  

    Posting Permissions

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