Page 2 of 2 FirstFirst 12
Results 16 to 25 of 25

Thread: Mail form code

  1. #16
    Head Honcho Administrator Reverend's Avatar
    Join Date
    Apr 2002
    Location
    England
    Posts
    14,737
    Quote Originally Posted by cash_site
    Will it though Rev?? I thought the mailto: code only opens the default mail client installed on the PC? Wouldnt she need some sort of mail relay or use Perl/PHP to sendMail() ??
    All depends on how the system is set up and which browser is used. But yeah i agree Perl/PHP would be a better option.

    =========== Please Read The Forum Rules ===========

  2. #17
    Member maglinders's Avatar
    Join Date
    Apr 2005
    Posts
    54

    Internet cafe etc...?

    Argh.

    I suspected that. The only people I have spoken to have said it launches their em client.
    An internet cafe user would need to be logged into their webmail for it to work, then.

    Any further thoughts, Rev?

  3. #18
    Head Honcho Administrator Reverend's Avatar
    Join Date
    Apr 2002
    Location
    England
    Posts
    14,737
    Quote Originally Posted by maglinders
    Any further thoughts, Rev?
    Do you host the sites that you make ?? Are they all hosted on the same server ??

    If so,you could use sendmail as advised earlier.

    Can't think of any other options at the moment.

    =========== Please Read The Forum Rules ===========

  4. #19
    Member maglinders's Avatar
    Join Date
    Apr 2005
    Posts
    54

    Question aargh

    That's what I wondered. People who have tested my mailform all say it launches their mail client. Suppose they are in an internate cafe and no mail client is live at the time they use the mailform?

  5. #20
    Member maglinders's Avatar
    Join Date
    Apr 2005
    Posts
    54

    Sendmail

    I only do basic html. Doesn't sendmail require fancy coding? Where can I get how-to on this, please?

  6. #21
    Banned adeydas's Avatar
    Join Date
    Apr 2005
    Location
    Some parallel universe
    Posts
    109
    if i might suggest, PHP would be a better option to create a contact form. i have one running at my site, so you might take a look .

  7. #22
    Head Honcho Administrator Reverend's Avatar
    Join Date
    Apr 2002
    Location
    England
    Posts
    14,737
    Quote Originally Posted by adeydas
    if i might suggest, PHP would be a better option to create a contact form. i have one running at my site, so you might take a look.
    So do we.

    =========== Please Read The Forum Rules ===========

  8. #23
    Triple Platinum Member Curio's Avatar
    Join Date
    Nov 2004
    Location
    London
    Posts
    686
    what like --

    <?php
    echo "
    <HTML>
    <BODY>
    <FORM METHOD=\"POST\" ACTION=\"mailto:your email address here\">
    Name<BR>
    <INPUT TYPE=\"text\" NAME=\"name\" SIZE=\"30\"><BR>
    E-mail address<BR>
    <INPUT TYPE=\"text\" NAME=\"subject\" SIZE=\"30\"><BR>
    Your message<BR>
    <TEXTAREA NAME=\"text\" COLS=\"30\" ROWS=\"5\"></TEXTAREA><BR>
    <INPUT TYPE=\"submit\">
    <INPUT TYPE=\"reset\">
    </FORM>
    </BODY>
    </HTML>
    ";
    ?>
    I'm using Windows 7 - you got a problem with that?

  9. #24
    Security Intelligence TZ Veteran cash_site's Avatar
    Join Date
    Jul 2002
    Location
    Software Paradise
    Posts
    3,385
    Curio, I think that code is what they are currently using (although just html embedded in HTML) but that form will lauch their email client, not actually send it from the server.

    --- 0wN3D by 3gG ---

  10. #25
    Triple Platinum Member Curio's Avatar
    Join Date
    Nov 2004
    Location
    London
    Posts
    686
    It was a joke - I just copied Revs post and php'd it.


    But incidentally no-one has mentioned where it's all hosted and what options may be available, frontpage for instance allows pretty much point and click mail form creation and of course there are lots of scripts out there for perl, cgi, php implementations.

    -- any method will need a mail program (smtp server of some kind) on the server --
    Last edited by Curio; June 12th, 2005 at 12:44 PM.
    I'm using Windows 7 - you got a problem with that?

Posting Permissions

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