www.webdeveloper.com
Results 1 to 9 of 9

Thread: email send options on website,

Hybrid View

  1. #1

    email send options on website,

    how can i make an email send option on the website where a person will put his own email id and enter his friends email id, and then from his own email he send his friend an email.

    like most sites says, enter your email and your friends email.....
    how to make that, thanks,

  2. #2
    Join Date
    Nov 2003
    Location
    Jerryville, Tejas
    Posts
    11,715
    The HTML is just a form with a couple of text inputs and a text area for the body if that's needed. The email work is done on the server by the handler behind the form action.
    "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan

  3. #3

    thanks for the reply

    can you give the html for that, the form, thanks,

  4. #4
    Join Date
    Nov 2003
    Location
    Jerryville, Tejas
    Posts
    11,715
    In abbreviated (aka invalid) form.

    <form action="formhandler">
    My email: <input type="text" name="email1"><br>
    Their email: <input type="text" name="email2"><br>
    Message:<br>
    <textarea name="message" rows="25" cols="80"></textarea>
    <input type="submit" name="sendbutton" value="Send">
    </form>
    "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan

  5. #5

    if i put up this form in blogger what will happen

    Quote Originally Posted by ray326
    In abbreviated (aka invalid) form.

    <form action="formhandler">
    My email: <input type="text" name="email1"><br>
    Their email: <input type="text" name="email2"><br>
    Message:<br>
    <textarea name="message" rows="25" cols="80"></textarea>
    <input type="submit" name="sendbutton" value="Send">
    </form>

    will this form work in blogger...........

  6. #6
    Join Date
    Nov 2006
    Location
    Nursing Home
    Posts
    268
    you need to use a serverside language. php, perl, asp.net etc...

    most apache servers have form-mail already installed in the cgi-bin.

    remember HTML does nothing!

  7. #7

    thanks..............

    well, what php server side application you are talking about? can you explain that a bit........thanks...........
    coming up............

  8. #8
    Join Date
    Nov 2006
    Location
    Nursing Home
    Posts
    268
    this page pretty much explains it better than i could:

    http://uk.php.net/function.mail

  9. #9
    Join Date
    Nov 2003
    Location
    Jerryville, Tejas
    Posts
    11,715
    I have no idea but Blogger doesn't have an appropriate form handler AFAIK.
    "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles