SitePoint Sponsor

User Tag List

Results 1 to 9 of 9

Hybrid View

  1. #1
    SitePoint Enthusiast
    Join Date
    Mar 2001
    Location
    UK, London
    Posts
    42
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    incorporating email within my site

    hello all

    i wonder if anyone can help me

    Im designing a website where i have a form on one of the pages, and i want users to be able to email me responses.


    i have ahost whom im sure must provide some help with this-but im unsure where to start

    any ideas?
    If you can talk, you can sing, if you can walk, you can dance!!

  2. #2
    SitePoint Evangelist galt's Avatar
    Join Date
    Apr 2002
    Posts
    461
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Most hosts have a script of some kind available for you, preinstalled and ready to go. Check with your host tech support for instructions (maybe a FAQ?)

    Maybe something called FormMail.pl but there are MANY options, and you could always install one yourself in about 20 minutes.

  3. #3
    Grumpy Mole Man Skunk's Avatar
    Join Date
    Jan 2001
    Location
    Lawrence, Kansas
    Posts
    2,067
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Take a look at the form mail script on http://nms-cgi.sourceforge.net/ - you will have to be able to install Perl CGI scripts on your account, ask your host for details if you don't know how to do this (if you have a cgi-bin directory then the chances are you can install scripts)

  4. #4
    SitePoint Enthusiast
    Join Date
    Mar 2001
    Location
    UK, London
    Posts
    42
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So let me get this right, all i have to do is add some code/'script' to the relevant page.

    This will link to an email program which will notify me when users send me mail from the site?
    If you can talk, you can sing, if you can walk, you can dance!!

  5. #5
    SitePoint Enthusiast iveka's Avatar
    Join Date
    May 2002
    Location
    Winchester, VA
    Posts
    51
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Right on

    The script I use is called formmail.pl. This file has the name of the page from which the email is being sent in it.
    Your code on the form will instruct where the email is to be sent.
    You can even assign a subject field in all of the emails that come from your site so that you know that is where they are from. For example the subject of your email would say "Feedback form from xyz.com".
    It's kind of hard to explain, but once you get the formmail file in place, it should work like a charm.

    Hope that helps

    Jeremy

  6. #6
    SitePoint Evangelist galt's Avatar
    Join Date
    Apr 2002
    Posts
    461
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    CJ,

    It is easier to use than to explain. Check with your hosting company. I give you 8 to 1 odds they have it (or comparable) installed and ready for your use. Then you plug in the sample form into your page, modify it as needed for your site, and you are good to go. First one will take you 20 minutes if you have ever done an HTML form, 30 minutes if not. Just dive in.

  7. #7
    SitePoint Enthusiast
    Join Date
    Mar 2001
    Location
    UK, London
    Posts
    42
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you all for your help

    (rest assured i will be back if it doesnt work!!...lol)
    If you can talk, you can sing, if you can walk, you can dance!!

  8. #8
    Prolific Blogger silver trophy Technosailor's Avatar
    Join Date
    Jun 2001
    Location
    Before These Crowded Streets
    Posts
    9,446
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    unless you want to use a mailto: link, then your options would be serverside. Which server-side solution would depend on what kind of server. Perl, which is what the FormMail script being used above uses, can be used on either Windows or Linux servers. You have simple mail options with either ASP (Windows) or PHP (Linux) servers as well.

    Sketch
    Aaron Brazell
    Technosailor



  9. #9
    Currently Occupied; Till Sunda Andrew-J2000's Avatar
    Join Date
    Aug 2001
    Location
    London
    Posts
    2,475
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    shouldn't that be PHP (Windows/Linux).

    ps i just want to know how to do this. when you subscribe to something ie sitepoint, and they send you an email response asking you to reply leaving the subject line intact with an id number inside, how do you use a server side language to verify that you have responded?


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
  •