Results 1 to 6 of 6

Thread: forms

  1. #1
    Join Date
    Mar 2009
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default forms

    Not sure what I'm doing wrong. I've created a form but everytime I enter text in the boxes to test and click the submit button my email programme opens instead of routing through my server.......I'm not very techie, so any help would be welcome, thanks

  2. #2
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    Please post a link to the page on your site that contains the problematic script or attach your code so we can check it out and help you.

  3. #3
    Join Date
    Mar 2009
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default forms


  4. #4
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    That is because your form action is a mailto:
    Code:
    <form action="mailto:sheryl@ccallard.wanadoo.co.uk" method="post">
    What you want to do is send the data to a file (usually PHP) that will send the mail. Google for "PHP contact form" and you will see how to do it if you don't know.

    Good luck!

  5. #5
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    As Snookerman has stated here that is because you have used the mailto function which opens the browsers default settings for mailing which is mail in most cases for mac and outlook for windows. However with a php script it will mail for you regardless of the browser defualts because it is mailing through the server http://www.ibdhost.com/contact/ (I think?).

  6. #6
    Join Date
    Mar 2009
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks both Snookerman and bluewalrus. I thought it had to be connected with the my email link but wasn't sure what I needed to do.
    I will check out the link, thanks for your quick responses too.

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
  •