Forms "mailto:" code

Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default Forms "mailto:" code

    When creating a form can you have the form emailed to two different email addresses? What would the code look like?
    BH2 Guest

  2. Similar Questions and Discussions

    1. Emailing using "mailto"
      Hia everyone right, to get this straight, I am probably to you a COMPLETE NEWB, so nice n simple please! I am currently developing a website...
    2. Question about "Mailto" in Ubuntu/Kubuntu
      Currently, in Ubuntu, the Mailto" function only calls Evolution and can't be changed. If I change to Kubuntu, can I specify the mail client that...
    3. Script to invoke html "mailto:?" for a button
      I have a button (no text, just a graphic) in an .swf movie to which I want to attach the html "mailto:" behavior when it is pressed so a blank...
    4. gotonetpage("mailto:user@domain.com") opens 2 new mails in outlook!!!!!
      Hi there, Perhaps not the best way to send mails in the first place, but Director rewards me with 2 (!!!) new mail messages. NB: I'm using...
    5. response.redirect("mailto:email.ee.com")
      if I do response.redirect(mailto:email.ee.com), it takes me to blank page. I am looking for a simple way of launching the client's default email...
  3. #2

    Default Re: Forms "mailto:" code

    There are only two ways to process form data -

    1. Use mailto:name@domain.com as the action of the form
    2. Use a server-side scripting method to a) harvest the form's data, b)
    process it in some manner, e.g., enter it into a database, c) formulate and
    send an email to one or more email recipients, and d) redirect the visitor
    to some ending page

    Method 1 is quite simple, and is also the least reliable. It depends both
    on your visitor having an email client already installed on their computer -
    this eliminates public computers, or home users without email clients
    installed (more and more it seems) - and on the installed email client
    responding to
    the mailto call. It is not possible to use this method *and* send the
    visitor to a
    thank you page as well, nor is it possible to send the email to two separate
    addresses.

    Method 2 is the preferred method, since it eliminates the problems of method
    1, but it means that you have to grapple with server-scripting somehow (ASP,
    CF, PHP, perl, etc.).

    To start with method 2, ask your host what they provide for form processing.

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================

    "BH2" <webforumsuser@macromedia.com> wrote in message
    news:dgcvga$lcq$1@forums.macromedia.com...
    > When creating a form can you have the form emailed to two different email
    > addresses? What would the code look like?

    Murray *TMM* Guest

  4. #3

    Default Re: Forms "mailto:" code

    I have a similar question, but of course, it is completely different. I update
    our website, and I have had a request to adjust a form that presently has a
    form action:

    <form action="http://www.umich.edu/cgi-bin/htmail/GSITOregF05@umich.edu"
    method="post" name="regform" id="regform" onSubmit="return
    CheckRequiredFields()">

    That sends the information on the form to me. My manager has asked if it is
    possible to insert a pair of radio buttons, the selection of one or the other
    will direct to whom the mail goes.

    For instance, indicating you are a graduate student will send the form
    information to Mary, or indicating that you are faculty will sent the form
    information to John.

    I'm not well versed in programmer language but can figure things out pretty
    well if given examples.
    Thanks for all replies

    JeriSue Guest

  5. #4

    Default Re: Forms "mailto:" code

    If you want to go with Murray's option 1, it should be something like this:

    <form action="mailto:you@youremail.com?subject=Your
    Subject&CC=you2@youremail.com" method="post" enctype="text/plain" name="Your
    Form Name" id="Your Form Id">

    Andre

    Andreroux Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139