Results 1 to 6 of 6

Thread: send mail

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2000
    Location
    medina, OH
    Posts
    125

    send mail

    anyone know how to create an email form that sends whatever they write to a specific email?
    "Sometimes the only way you can feel good about yourself is by making someone else look bad And I'm tired of making other people feel good about themselves"-Homer Simpson

  2. #2
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    Using what, just HTML?
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  3. #3
    If you want to send a form via e-mail, the easiest way can be done with pure HTML, sort of:
    Code:
    <form action="mailto:[email protected]">
    <textarea name="monkeypoo">
    Yeah, you heard me!
    </textarea>
    <input type="submit">
    </form>
    The user will have to have a mail client installed, and what's more they'll be warned that the form will be submitted via e-mail. As for just sending mail without using their client like this, you'd have to use PHP, JSP, or some other server-side language.

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Aug 2000
    Location
    medina, OH
    Posts
    125
    then i need to do it in another language
    do you know how?
    "Sometimes the only way you can feel good about yourself is by making someone else look bad And I'm tired of making other people feel good about themselves"-Homer Simpson

  5. #5
    Fanatic Member punkpie_uk's Avatar
    Join Date
    Sep 2001
    Location
    UK
    Posts
    645
    If you use ASP you can do it using the CDONTS object

    Code:
    <%
       Set sm = Server.CreateObject("CDONTS.NewMail")
       With sm
          .From = "[email protected]"
          .To = "[email protected]"
          .Subject = "subject"
          .Body = "body"
          .Send
       End With
       Set sm = Nothing	  
    %>
    SPREAD THE WORD!!! Are You Lee McCormick? Because I Am



    Lee M McCormick
    [email protected]

    Lee McCormick.com - Live
    Dynamically Webbed.com - In development but live

  6. #6
    PHP, it's, as usual, really easy:
    PHP Code:
    <? mail('[email protected]', 'Check this out!', 'http://www.vbforums.com/ , visit it or die'); ?>

Posting Permissions

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



Click Here to Expand Forum to Full Width